add switch button to help dialog

This commit is contained in:
rolux 2013-03-04 12:31:44 +00:00
parent a84f56335c
commit c4feabb3cb

View file

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