From 701905727c70908f594a9aae66443445a9fe1211 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 20 Apr 2014 06:01:32 -0400
Subject: [PATCH] Add _mbox argument to headers action URL

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

diff --git a/program/js/app.js b/program/js/app.js
index 48ec996..0dd9abe 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6670,8 +6670,9 @@
 
     // fetch headers only once
     if (!this.gui_objects.all_headers_box.innerHTML) {
-      var lock = this.display_message(this.get_label('loading'), 'loading');
-      this.http_post('headers', {_uid: this.env.uid}, lock);
+      this.http_post('headers', {_uid: this.env.uid, _mbox: this.env.mailbox},
+        this.display_message(this.get_label('loading'), 'loading')
+      );
     }
   };
 

--
Gitblit v1.9.1