forked from 0x2620/pandora
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({
|
that = Ox.Dialog({
|
||||||
buttons: [
|
buttons: [
|
||||||
|
Ox.Button({
|
||||||
|
id: 'switch',
|
||||||
|
title: pandora.site.site.name + ' API...'
|
||||||
|
}).bindEvent({
|
||||||
|
click: function() {
|
||||||
|
pandora.UI.set({page: 'api', 'hash.anchor': ''})
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
{},
|
||||||
Ox.Button({
|
Ox.Button({
|
||||||
id: 'close',
|
id: 'close',
|
||||||
title: 'Close'
|
title: 'Close'
|
||||||
|
|
Loading…
Reference in a new issue