mirror of https://github.com/apache/cloudstack.git
cluster page, network page, secondary storage page - not update right panel after an action succeeds since the action might not belong to currently selected middle menu item.
This commit is contained in:
parent
fb04b04835
commit
7e7a5f3e45
|
|
@ -105,8 +105,10 @@ var clusterActionMap = {
|
|||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
clusterClearRightPanel();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
clusterClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -914,7 +914,8 @@ function directNetworkJsonClearDetailsTab() {
|
|||
$thisTab.find("#grid_header_title").text("");
|
||||
$thisTab.find("#id").text("");
|
||||
$thisTab.find("#name").text("");
|
||||
$thisTab.find("#displaytext").text("");
|
||||
$thisTab.find("#displaytext").text("");
|
||||
$thisTab.find("#default").text("");
|
||||
$thisTab.find("#vlan").text("");
|
||||
$thisTab.find("#gateway").text("");
|
||||
$thisTab.find("#netmask").text("");
|
||||
|
|
@ -1229,9 +1230,11 @@ var directNetworkActionMap = {
|
|||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
directNetworkClearRightPanel();
|
||||
});
|
||||
if(id.toString() == $("#right_panel_content").find("#direct_network_page").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
directNetworkClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,7 +127,9 @@ var secondaryStorageActionMap = {
|
|||
dialogBeforeActionFn: doDeleteSecondaryStorage,
|
||||
inProcessText: "Deleting Secondary Storage....",
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
secondaryStorageJsonClearRightPanel();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
secondaryStorageJsonClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue