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', 'jQuery', 'paper-fab'], function (paperDialogHelper, $) {
|
||||
define(['dialogHelper', 'jQuery', 'paper-fab'], function (dialogHelper, $) {
|
||||
|
||||
var currentItemId;
|
||||
var currentFile;
|
||||
|
@ -137,7 +137,7 @@
|
|||
var template = this.response;
|
||||
currentItemId = itemId;
|
||||
|
||||
var dlg = paperDialogHelper.createDialog({
|
||||
var dlg = dialogHelper.createDialog({
|
||||
size: 'fullscreen-border'
|
||||
});
|
||||
|
||||
|
@ -163,7 +163,7 @@
|
|||
// Has to be assigned a z-index after the call to .open()
|
||||
$(dlg).on('close', onDialogClosed);
|
||||
|
||||
paperDialogHelper.open(dlg);
|
||||
dialogHelper.open(dlg);
|
||||
|
||||
var editorContent = dlg.querySelector('.editorContent');
|
||||
initEditor(editorContent);
|
||||
|
@ -172,7 +172,7 @@
|
|||
|
||||
$('.btnCloseDialog', dlg).on('click', function () {
|
||||
|
||||
paperDialogHelper.close(dlg);
|
||||
dialogHelper.close(dlg);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue