From 538e1c85d214e1ac9e261e8cd20c369a312d4900 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 05 Oct 2010 03:06:51 -0400
Subject: [PATCH] - Fix confirmation message isn't displayed after sending mail on Chrome (#1486177) 

---
 program/js/app.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 4388c50..83a6df2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3267,8 +3267,9 @@
 
   this.sent_successfully = function(type, msg)
   {
-    this.list_mailbox();
     this.display_message(msg, type, true);
+    // before redirect we need to wait some time for Chrome (#1486177)
+    window.setTimeout(function(){ ref.list_mailbox(); }, 500);
   };
 
 

--
Gitblit v1.9.1