diff --git a/static/js/pandora/helpDialog.js b/static/js/pandora/helpDialog.js index 22e0faea..820bd595 100644 --- a/static/js/pandora/helpDialog.js +++ b/static/js/pandora/helpDialog.js @@ -28,6 +28,15 @@ pandora.ui.helpDialog = function() { that = Ox.Dialog({ buttons: [ + Ox.Button({ + id: 'switch', + title: pandora.site.site.name + ' API...' + }).bindEvent({ + click: function() { + pandora.UI.set({page: 'api', 'hash.anchor': ''}) + } + }), + {}, Ox.Button({ id: 'close', title: 'Close'