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:
parent
1d19c5d9a2
commit
d6dbf4c344
2 changed files with 52 additions and 6 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue