preferences dialog: add signout button

This commit is contained in:
rolux 2013-03-03 13:35:09 +05:30
parent bd68dca2d8
commit 6d9ee1ece6

View file

@ -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'