move run script on load to user->preferences->advanced
This commit is contained in:
parent
54fcacf94f
commit
fb6422388d
3 changed files with 17 additions and 7 deletions
|
|
@ -100,7 +100,7 @@ pandora.ui.preferencesDialog = function() {
|
|||
$content.append(
|
||||
Ox.Button({
|
||||
title: 'Reset UI Settings',
|
||||
width: 120
|
||||
width: 128
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
|
|
@ -110,6 +110,18 @@ pandora.ui.preferencesDialog = function() {
|
|||
})
|
||||
.css({position: 'absolute', left: '96px', top: '16px'})
|
||||
);
|
||||
$content.append(
|
||||
Ox.Button({
|
||||
title: 'Run Script on Load',
|
||||
width: 128
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
pandora.$ui.onloadDialog = pandora.ui.onloadDialog().open();
|
||||
}
|
||||
})
|
||||
.css({position: 'absolute', left: '96px', top: '40px'})
|
||||
);
|
||||
}
|
||||
return $content;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue