mirror of https://github.com/apache/cloudstack.git
new UI - template page - delete template - slowly slide up middle menu item and remove the element from DOM.
This commit is contained in:
parent
6946f5ace1
commit
492b923e24
|
|
@ -370,8 +370,10 @@ var templateActionMap = {
|
|||
asyncJobResponse: "deletetemplateresponse",
|
||||
dialogBeforeActionFn : doDeleteTemplate,
|
||||
inProcessText: "Deleting Template....",
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id){
|
||||
$midmenuItem1.remove();
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id){
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
clearRightPanel();
|
||||
templateClearRightPanel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue