diff --git a/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js b/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js index 92dc028d998934cdd62bf73581889e7a914efcce..09290bd42a9a8c2cd478b7914cc95623b8b23f32 100644 --- a/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js +++ b/pkg/vtiger/modules/MailManager/layouts/v7/modules/MailManager/resources/List.js @@ -354,7 +354,7 @@ Vtiger_List_Js("MailManager_List_Js", {}, { '_msgno' : msgNos.join(',') }; app.request.post({data : params}).then(function(err,data) { - app.helper.hideProgress(); + self.openFolder(folder); if(data.status) { app.helper.showSuccessNotification({'message': app.vtranslate('JSLBL_MAILS_DELETED')}); self.updateUnreadCount("-"+self.getUnreadCountByMsgNos(msgNos), folder); @@ -418,7 +418,7 @@ Vtiger_List_Js("MailManager_List_Js", {}, { '_msgno' : msgNos.join(',') }; app.request.post({data : params}).then(function(err,data) { - app.helper.hideProgress(); + self.openFolder(folder); if(data.status) { app.helper.showSuccessNotification({'message': app.vtranslate('JSLBL_MAIL_MOVED')}); var unreadCount = self.getUnreadCountByMsgNos(msgNos);