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', 'jQuery', 'scripts/livetvcomponents', 'livetvcss', 'paper-checkbox', 'paper-input', 'paper-toggle-button'], function (paperDialogHelper, $) {
define(['dialogHelper', 'jQuery', 'scripts/livetvcomponents', 'livetvcss', 'paper-checkbox', 'paper-input', 'paper-toggle-button'], function (dialogHelper, $) {
var currentProgramId;
var currentDialog;
@ -40,7 +40,7 @@
function closeDialog(isSubmitted) {
recordingCreated = isSubmitted;
paperDialogHelper.close(currentDialog);
dialogHelper.close(currentDialog);
}
function onSubmit() {
@ -334,7 +334,7 @@
xhr.onload = function (e) {
var template = this.response;
var dlg = paperDialogHelper.createDialog({
var dlg = dialogHelper.createDialog({
removeOnClose: true,
size: 'small'
});
@ -351,7 +351,7 @@
dlg.innerHTML = html;
document.body.appendChild(dlg);
paperDialogHelper.open(dlg);
dialogHelper.open(dlg);
currentDialog = dlg;