remove another jqm panel
This commit is contained in:
parent
914a579a66
commit
8a8ca495fd
10 changed files with 56 additions and 55 deletions
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.0.77",
|
||||
"_release": "1.0.77",
|
||||
"version": "1.0.79",
|
||||
"_release": "1.0.79",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.0.77",
|
||||
"commit": "68a71ffeed9dad3e3d06d163b51ae4c555f3c1f9"
|
||||
"tag": "1.0.79",
|
||||
"commit": "f00dd984581d53272229de71458c8a8f6b5878fc"
|
||||
},
|
||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "~1.0.0",
|
||||
|
|
|
@ -32,8 +32,20 @@ define(['paperdialoghelper', 'layoutManager', 'globalize', 'dialogText', 'html!.
|
|||
html += '<paper-icon-button tabindex="-1" icon="dialog:arrow-back" class="btnPromptExit"></paper-icon-button>';
|
||||
}
|
||||
|
||||
if (options.title) {
|
||||
html += '<h2>';
|
||||
html += options.title;
|
||||
html += '</h2>';
|
||||
}
|
||||
|
||||
html += '<paper-input autoFocus class="txtPromptValue"></paper-input>';
|
||||
|
||||
if (options.description) {
|
||||
html += '<div class="fieldDescription">';
|
||||
html += options.description;
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
// TODO: An actual form element should probably be added
|
||||
html += '<br/>';
|
||||
if (raisedButtons) {
|
||||
|
@ -53,8 +65,8 @@ define(['paperdialoghelper', 'layoutManager', 'globalize', 'dialogText', 'html!.
|
|||
dlg.querySelector('.txtPromptValue').value = options.text;
|
||||
}
|
||||
|
||||
if (options.title) {
|
||||
dlg.querySelector('.txtPromptValue').label = options.title;
|
||||
if (options.label) {
|
||||
dlg.querySelector('.txtPromptValue').label = options.label;
|
||||
}
|
||||
|
||||
document.body.appendChild(dlg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue