From 6d9ee1ece6d95b783af5eb1b5d12fee58f3df800 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 3 Mar 2013 13:35:09 +0530 Subject: [PATCH] preferences dialog: add signout button --- static/js/pandora/preferencesDialog.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/js/pandora/preferencesDialog.js b/static/js/pandora/preferencesDialog.js index ab0851331..a67aaa443 100644 --- a/static/js/pandora/preferencesDialog.js +++ b/static/js/pandora/preferencesDialog.js @@ -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'