mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Bug 6922: skip calling listVM API when a VM in middle menu is clicked.
This commit is contained in:
parent
15e9c1cd26
commit
e65b77fe33
@ -1502,9 +1502,9 @@ function vmJsonToDetailsTab(){
|
|||||||
var $thisTab = $("#right_panel_content").find("#tab_content_details");
|
var $thisTab = $("#right_panel_content").find("#tab_content_details");
|
||||||
$thisTab.find("#tab_container").hide();
|
$thisTab.find("#tab_container").hide();
|
||||||
$thisTab.find("#tab_spinning_wheel").show();
|
$thisTab.find("#tab_spinning_wheel").show();
|
||||||
|
|
||||||
var id = jsonObj.id;
|
/*
|
||||||
|
var id = jsonObj.id;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data: createURL("command=listVirtualMachines&id="+id),
|
data: createURL("command=listVirtualMachines&id="+id),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
@ -1518,7 +1518,8 @@ function vmJsonToDetailsTab(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
resetViewConsoleAction(jsonObj, $thisTab);
|
resetViewConsoleAction(jsonObj, $thisTab);
|
||||||
setVmStateInRightPanel(jsonObj.state, $thisTab.find("#state"));
|
setVmStateInRightPanel(jsonObj.state, $thisTab.find("#state"));
|
||||||
$thisTab.find("#ipAddress").text(fromdb(jsonObj.ipaddress));
|
$thisTab.find("#ipAddress").text(fromdb(jsonObj.ipaddress));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user