From 34a5ae756251d72e147bc6a2ed7a322e562c825b Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 29 Sep 2013 11:20:12 -0400
Subject: [PATCH] Fix issue where search result was reset after sending a message (#1489350)

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

diff --git a/program/js/app.js b/program/js/app.js
index 2d8be37..5ea01e7 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3805,7 +3805,7 @@
         // refresh the folder where sent message was saved or replied message comes from
         if (folders && rc.env.task == 'mail' && rc.env.action == '' && $.inArray(rc.env.mailbox, folders) >= 0) {
           // @TODO: try with 'checkmail' here when #1485186 is fixed. See also #1489249.
-          rc.command('list', rc.env.mailbox);
+          rc.command('list');
         }
       }
       setTimeout(function(){ window.close() }, 1000);

--
Gitblit v1.9.1