From af3ce884cbd780f7722d31d212d4a44be37c87de Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 11 Jan 2011 16:49:33 -0800 Subject: [PATCH] bug 7861: secondary storage page - refresh page when clicking between different secondary storage node. --- ui/scripts/cloud.core.resource.js | 2 +- ui/scripts/cloud.core.secondarystorage.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.resource.js b/ui/scripts/cloud.core.resource.js index f07d01a8617..164026d43bd 100644 --- a/ui/scripts/cloud.core.resource.js +++ b/ui/scripts/cloud.core.resource.js @@ -140,7 +140,7 @@ function buildZoneTree() { }); } else { - //secondarystoragePopulateMiddleMenu($(this)); + secondaryStorageRefreshDataBinding(); } return false; diff --git a/ui/scripts/cloud.core.secondarystorage.js b/ui/scripts/cloud.core.secondarystorage.js index a4dadd69c5e..a8dfcb888dd 100644 --- a/ui/scripts/cloud.core.secondarystorage.js +++ b/ui/scripts/cloud.core.secondarystorage.js @@ -70,6 +70,7 @@ function secondaryStorageJsonToDetailsTab() { }); if(jsonObj == null) { + secondaryStorageJsonClearRightPanel(); $thisTab.find("#tab_spinning_wheel").hide(); $thisTab.find("#tab_container").show(); return;