forked from 0x2620/pandora
preferences dialog: add signout button
This commit is contained in:
parent
bd68dca2d8
commit
6d9ee1ece6
1 changed files with 10 additions and 0 deletions
|
@ -128,6 +128,16 @@ pandora.ui.preferencesDialog = function() {
|
|||
}),
|
||||
$dialog = Ox.Dialog({
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
id: 'signout',
|
||||
title: 'Sign Out...'
|
||||
}).bindEvent({
|
||||
click: function() {
|
||||
$dialog.close();
|
||||
pandora.UI.set({page: 'signout'});
|
||||
}
|
||||
}),
|
||||
{},
|
||||
Ox.Button({
|
||||
id: 'done',
|
||||
title: 'Done'
|
||||
|
|
Loading…
Reference in a new issue