From 7dd38fc00d623bd6aac90eccb175689a4103df62 Mon Sep 17 00:00:00 2001 From: cdtank Date: Tue, 25 Jan 2011 01:28:11 +0000 Subject: [PATCH] 1. Improved the behavior when the switch of parameter happens. --- .../visualization/entitycomparison/gui-event-manager.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/productMods/js/visualization/entitycomparison/gui-event-manager.js b/productMods/js/visualization/entitycomparison/gui-event-manager.js index d9434562..13b26cef 100644 --- a/productMods/js/visualization/entitycomparison/gui-event-manager.js +++ b/productMods/js/visualization/entitycomparison/gui-event-manager.js @@ -51,15 +51,22 @@ $(document).ready(function() { }); + $("#body").empty().html("Loading " + selectedValue + " ..."); + /* * This piece of code is not executed at all because the redirect happens before there is a chance * to render the below contents. * */ + /* + $("#comparisonParameter").text("Total Number of " + selectedValue); $('#yaxislabel').html("Number of " + selectedValue).mbFlipText(false); $('#yaxislabel').css("color", "#595B5B"); - $('#comparisonHeader').html(selectedValue).css('font-weight', 'bold'); + $('#comparisonHeader').html(selectedValue).css('font-weight', 'bold'); + + + */ });