mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
paperdialoghelper -> dialogHelper
This commit is contained in:
parent
822553d966
commit
ae421fa193
37 changed files with 168 additions and 163 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['paperdialoghelper', 'layoutManager', 'dialogText', 'html!./../prompt/icons.html', 'css!./../prompt/style.css', 'paper-button', 'paper-input'], function (paperdialoghelper, layoutManager, dialogText) {
|
||||
define(['dialogHelper', 'layoutManager', 'dialogText', 'html!./../prompt/icons.html', 'css!./../prompt/style.css', 'paper-button', 'paper-input'], function (dialogHelper, layoutManager, dialogText) {
|
||||
|
||||
return function (options) {
|
||||
|
||||
|
@ -27,7 +27,7 @@ define(['paperdialoghelper', 'layoutManager', 'dialogText', 'html!./../prompt/ic
|
|||
dialogOptions.exitAnimationDuration = 200;
|
||||
}
|
||||
|
||||
var dlg = paperdialoghelper.createDialog(dialogOptions);
|
||||
var dlg = dialogHelper.createDialog(dialogOptions);
|
||||
|
||||
dlg.classList.add('promptDialog');
|
||||
|
||||
|
@ -73,9 +73,9 @@ define(['paperdialoghelper', 'layoutManager', 'dialogText', 'html!./../prompt/ic
|
|||
|
||||
dlg.querySelector('.btnSubmit').addEventListener('click', function (e) {
|
||||
|
||||
paperdialoghelper.close(dlg);
|
||||
dialogHelper.close(dlg);
|
||||
});
|
||||
|
||||
return paperdialoghelper.open(dlg);
|
||||
return dialogHelper.open(dlg);
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue