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', 'paper-button', 'css!./actionsheet'], function (paperdialoghelper, layoutManager, dialogText) {
|
||||
define(['dialogHelper', 'layoutManager', 'dialogText', 'paper-button', 'css!./actionsheet'], function (dialogHelper, layoutManager, dialogText) {
|
||||
|
||||
function parentWithClass(elem, className) {
|
||||
|
||||
|
@ -120,7 +120,7 @@
|
|||
dialogOptions.autoFocus = false;
|
||||
}
|
||||
|
||||
var dlg = paperdialoghelper.createDialog(dialogOptions);
|
||||
var dlg = dialogHelper.createDialog(dialogOptions);
|
||||
|
||||
dlg.classList.add('actionSheet');
|
||||
|
||||
|
@ -213,7 +213,7 @@
|
|||
|
||||
var selectedId = actionSheetMenuItem.getAttribute('data-id');
|
||||
|
||||
paperdialoghelper.close(dlg);
|
||||
dialogHelper.close(dlg);
|
||||
|
||||
// Add a delay here to allow the click animation to finish, for nice effect
|
||||
setTimeout(function () {
|
||||
|
@ -229,7 +229,7 @@
|
|||
|
||||
});
|
||||
|
||||
paperdialoghelper.open(dlg);
|
||||
dialogHelper.open(dlg);
|
||||
|
||||
if (pos) {
|
||||
dlg.style.position = 'fixed';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue