mirror of https://github.com/apache/cloudstack.git
pod page, zone 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
13d051df80
commit
fb04b04835
|
|
@ -681,8 +681,10 @@ var hostActionMap = {
|
|||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
hostClearRightPanel();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
hostClearRightPanel();
|
||||
}
|
||||
}
|
||||
},
|
||||
"Update OS Preference": {
|
||||
|
|
|
|||
|
|
@ -879,9 +879,11 @@ var podActionMap = {
|
|||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
podJsonClearRightPanel();
|
||||
});
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
podJsonClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -225,8 +225,10 @@ var primarystorageActionMap = {
|
|||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
primarystorageClearRightPanel();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
primarystorageClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -912,9 +912,11 @@ var zoneActionMap = {
|
|||
afterActionSeccessFn: function(json, $leftmenuItem1, id) {
|
||||
$leftmenuItem1.slideUp(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
zoneJsonClearRightPanel();
|
||||
});
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
zoneJsonClearRightPanel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue