From 98f7abb6dc48924d93830662dce3423d309da69d Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 10 May 2011 12:01:28 -0700 Subject: [PATCH] cloudStack UI - Instance page (multiple-selection-middle-menu page) - fix a bug that multiple-selection menu behaved weird on slow machine (e.g. Chandan's machine). --- ui/scripts/cloud.core.instance.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/scripts/cloud.core.instance.js b/ui/scripts/cloud.core.instance.js index c24868c4f12..e950bc6c59f 100644 --- a/ui/scripts/cloud.core.instance.js +++ b/ui/scripts/cloud.core.instance.js @@ -1820,7 +1820,10 @@ function vmJsonToDetailsTab(){ $thisTab.find("#tab_container").hide(); $thisTab.find("#tab_spinning_wheel").show(); - var id = jsonObj.id; + var id = jsonObj.id; + + //comment out the following AJAX call because it caused problem of multiple-selection middle menu + /* $.ajax({ data: createURL("command=listVirtualMachines&id="+id), dataType: "json", @@ -1834,7 +1837,8 @@ function vmJsonToDetailsTab(){ } } }); - + */ + resetViewConsoleAction(jsonObj, $thisTab); setVmStateInRightPanel(jsonObj.state, $thisTab.find("#state"));