onloadDialog -> scriptDialog

This commit is contained in:
rolux 2015-02-21 16:13:37 +05:30
parent b00a3a0d19
commit 5004dfe1de
2 changed files with 2 additions and 2 deletions

View file

@ -174,7 +174,7 @@ pandora.ui.preferencesDialog = function() {
}) })
.bindEvent({ .bindEvent({
click: function() { click: function() {
pandora.$ui.onloadDialog = pandora.ui.onloadDialog().open(); pandora.$ui.scriptDialog = pandora.ui.scriptDialog().open();
} }
}) })
.css({position: 'absolute', left: '96px', top: '40px'}) .css({position: 'absolute', left: '96px', top: '40px'})

View file

@ -2,7 +2,7 @@
'use strict'; 'use strict';
pandora.ui.onloadDialog = function() { pandora.ui.scriptDialog = function() {
var dialogHeight = Math.round((window.innerHeight - 48) * 0.75), var dialogHeight = Math.round((window.innerHeight - 48) * 0.75),
dialogWidth = Math.round(window.innerWidth * 0.75), dialogWidth = Math.round(window.innerWidth * 0.75),