mirror of https://github.com/apache/cloudstack.git
service offering page, disk offering page - clear right panel after middle menu item is removed from DOM.
This commit is contained in:
parent
23e5a01315
commit
3b3aa07a6f
|
|
@ -330,12 +330,12 @@ var diskOfferingActionMap = {
|
|||
inProcessText: "Deleting disk offering....",
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
diskOfferingClearRightPanel();
|
||||
}
|
||||
$(this).remove();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
diskOfferingClearRightPanel();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -330,12 +330,12 @@ var serviceOfferingActionMap = {
|
|||
inProcessText: "Deleting service offering....",
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
serviceOfferingClearRightPanel();
|
||||
}
|
||||
$(this).remove();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
serviceOfferingClearRightPanel();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue