diff --git a/static/js/appPanel.js b/static/js/appPanel.js index a0c4d73..1c0a5e4 100644 --- a/static/js/appPanel.js +++ b/static/js/appPanel.js @@ -26,6 +26,7 @@ oml.ui.appPanel = function() { function setPage(page, previousPage) { var dialogs = { + welcomeDialog: ['welcome'], appDialog: ['about', 'faq', 'terms', 'development', 'contact'], updateDialog: ['update'], userDialog: ['preferences', 'peers', 'transfers'], diff --git a/static/js/welcomeDialog.js b/static/js/welcomeDialog.js index 9ca168b..170a8ac 100644 --- a/static/js/welcomeDialog.js +++ b/static/js/welcomeDialog.js @@ -4,6 +4,17 @@ oml.ui.welcomeDialog = function() { var that = oml.ui.iconDialog({ buttons: [ + Ox.Button({ + id: 'preferences', + style: 'squared', + title: Ox._('Preferences...') + }) + .bindEvent({ + click: function() { + oml.UI.set({page: 'preferences'}); + } + }), + {}, Ox.Button({ id: 'close', style: 'squared',