update help dialog
This commit is contained in:
parent
12fc1d8add
commit
6b6e5df976
1 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,7 @@ pandora.ui.helpDialog = function() {
|
||||||
maximizeButton: true,
|
maximizeButton: true,
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 576,
|
minWidth: 576,
|
||||||
|
removeOnClose: true,
|
||||||
title: 'Help',
|
title: 'Help',
|
||||||
width: Math.round(window.innerWidth * 0.75)
|
width: Math.round(window.innerWidth * 0.75)
|
||||||
})
|
})
|
||||||
|
@ -55,7 +56,8 @@ pandora.ui.helpDialog = function() {
|
||||||
$list.size();
|
$list.size();
|
||||||
},
|
},
|
||||||
'pandora_hash.anchor': function(data) {
|
'pandora_hash.anchor': function(data) {
|
||||||
that.select(data.value == '' ? 'help' : data.value);
|
pandora.user.ui.page == 'help' &&
|
||||||
|
that.select(data.value == '' ? 'help' : data.value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue