diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index 1c6bdb05..cb096962 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 ad2f6253..95bf8d26 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),