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,
minHeight: 256,
minWidth: 576,
removeOnClose: true,
title: 'Help',
width: Math.round(window.innerWidth * 0.75)
})
@ -55,7 +56,8 @@ pandora.ui.helpDialog = function() {
$list.size();
},
'pandora_hash.anchor': function(data) {
that.select(data.value == '' ? 'help' : data.value);
pandora.user.ui.page == 'help' &&
that.select(data.value == '' ? 'help' : data.value);
}
});