update help dialog

This commit is contained in:
rolux 2013-03-04 11:58:07 +00:00
parent 12fc1d8add
commit 6b6e5df976

View file

@ -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,6 +56,7 @@ pandora.ui.helpDialog = function() {
$list.size(); $list.size();
}, },
'pandora_hash.anchor': function(data) { 'pandora_hash.anchor': function(data) {
pandora.user.ui.page == 'help' &&
that.select(data.value == '' ? 'help' : data.value); that.select(data.value == '' ? 'help' : data.value);
} }
}); });