From e4ea46f1f11921aa5a59f5c066e628032fdb197a Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 6 Jan 2015 15:59:41 +0000 Subject: [PATCH] Call the vacation notice refresh for the active profile when the mail app gets loaded --- mail/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail/js/app.js b/mail/js/app.js index 39eda5f61e..8acf1ee80e 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -168,6 +168,8 @@ app.classes.mail = AppJS.extend( tree_wdg.set_onopenstart(jQuery.proxy(this.openstart_tree, this)); tree_wdg.set_onopenend(jQuery.proxy(this.openend_tree, this)); } + // Show vacation notice on load for the current profile + this.mail_callRefreshVacationNotice(); break; case 'mail.display': this.mail_isMainWindow = false;