From 6b6e5df9762c1f4b21fde58a22f7933d1751a5f6 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 4 Mar 2013 11:58:07 +0000 Subject: [PATCH] update help dialog --- static/js/pandora/helpDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/helpDialog.js b/static/js/pandora/helpDialog.js index 1c486893..22e0faea 100644 --- a/static/js/pandora/helpDialog.js +++ b/static/js/pandora/helpDialog.js @@ -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); } });