From 055c9f896654c15f8c4a13563c81b7eb6467d6bb Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 22 Sep 2014 12:55:04 +0000 Subject: [PATCH] Fix save as draft confirmation message does not disappear after a while --- mail/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/js/app.js b/mail/js/app.js index 6d145a6c2a..fa5722e598 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -3216,17 +3216,17 @@ app.classes.mail = AppJS.extend( { opener.egw_refresh(_responseData.message,'mail', prevDraftedId, 'delete'); } - this.egw.refresh(_responseData.message,'mail',_responseData.draftedId,'add'); + this.egw.refresh(_responseData.message,'mail',_responseData.draftedId); switch (_action) { case 'button[saveAsDraftAndPrint]': this.mail_compose_print('mail::'+_responseData.draftedId); - this.egw.message(_responseData.message, 'add'); + this.egw.message(_responseData.message); break; case 'autosaving': //Any sort of thing if it's an autosaving action default: - this.egw.message(_responseData.message, 'add'); + this.egw.message(_responseData.message); } } }