diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index 1c6bdb057..cb0969624 100644 --- a/static/js/preferencesDialog.js +++ b/static/js/preferencesDialog.js @@ -174,7 +174,7 @@ pandora.ui.preferencesDialog = function() { }) .bindEvent({ click: function() { - pandora.$ui.onloadDialog = pandora.ui.onloadDialog().open(); + pandora.$ui.scriptDialog = pandora.ui.scriptDialog().open(); } }) .css({position: 'absolute', left: '96px', top: '40px'}) diff --git a/static/js/onloadDialog.js b/static/js/scriptDialog.js similarity index 98% rename from static/js/onloadDialog.js rename to static/js/scriptDialog.js index ad2f62539..95bf8d264 100644 --- a/static/js/onloadDialog.js +++ b/static/js/scriptDialog.js @@ -2,7 +2,7 @@ 'use strict'; -pandora.ui.onloadDialog = function() { +pandora.ui.scriptDialog = function() { var dialogHeight = Math.round((window.innerHeight - 48) * 0.75), dialogWidth = Math.round(window.innerWidth * 0.75),