move run script on load to user->preferences->advanced

This commit is contained in:
j 2012-05-28 21:04:27 +00:00
commit fb6422388d
3 changed files with 17 additions and 7 deletions

View file

@ -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;
},