* Mail: Fix vacation notice disappears when switching folders

This commit is contained in:
Hadi Nategh 2017-08-17 17:28:36 +02:00
parent c0658f4c02
commit 44710a4183

View File

@ -2138,9 +2138,9 @@ app.classes.mail = AppJS.extend(
this.mail_refreshFolderStatus(_folder,'forced',false,false);
this.mail_refreshQuotaDisplay(server[0]);
this.mail_preview();
this.mail_callRefreshVacationNotice(server[0]);
if (server[0]!=previousServer[0])
{
this.mail_callRefreshVacationNotice(server[0]);
egw.jsonq('mail.mail_ui.ajax_refreshFilters',[server[0]]);
}
},