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).

This commit is contained in:
Jessica Wang 2011-05-10 12:01:28 -07:00
parent ad05706f18
commit 98f7abb6dc
1 changed files with 6 additions and 2 deletions

View File

@ -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"));