new UI - template page - delete template - slowly slide up middle menu item and remove the element from DOM.

This commit is contained in:
Jessica Wang 2010-11-08 17:25:16 -08:00
parent 6946f5ace1
commit 492b923e24
1 changed files with 4 additions and 2 deletions

View File

@ -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();
}