1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

paperdialoghelper -> dialogHelper

This commit is contained in:
Luke Pulverenti 2016-03-23 15:03:17 -04:00
parent 822553d966
commit ae421fa193
37 changed files with 168 additions and 163 deletions

View file

@ -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';