add switch button to help dialog
This commit is contained in:
parent
a84f56335c
commit
c4feabb3cb
1 changed files with 9 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue