add confirmation dialog when resetting UI settings, add '...' in advanced tab of preferences dialog to indicate that dialogs will open

This commit is contained in:
rolux 2012-06-04 12:57:55 +02:00
commit d6dbf4c344
2 changed files with 52 additions and 6 deletions

View file

@ -99,21 +99,20 @@ pandora.ui.preferencesDialog = function() {
} else {
$content.append(
Ox.Button({
title: 'Reset UI Settings',
width: 128
title: 'Reset UI Settings...',
width: 160
})
.bindEvent({
click: function() {
pandora.UI.reset();
pandora.$ui.appPanel.reload();
pandora.$ui.resetUIDialog = pandora.ui.resetUIDialog().open();
}
})
.css({position: 'absolute', left: '96px', top: '16px'})
);
$content.append(
Ox.Button({
title: 'Run Script on Load',
width: 128
title: 'Run Script on Load...',
width: 160
})
.bindEvent({
click: function() {