From 5004dfe1def8833c77a6eb1d78d1f71185c308c0 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 21 Feb 2015 16:13:37 +0530 Subject: [PATCH] onloadDialog -> scriptDialog --- static/js/preferencesDialog.js | 2 +- static/js/{onloadDialog.js => scriptDialog.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename static/js/{onloadDialog.js => scriptDialog.js} (98%) 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),