From 8e32dcd9e8c05d5df2870089700848475a6fed2b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 01 Jun 2010 02:32:52 -0400
Subject: [PATCH] Fix subject column after re-arranging cols

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

diff --git a/program/js/app.js b/program/js/app.js
index b3097b7..bbaa79d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1501,6 +1501,9 @@
     if ((found = $.inArray('flag', this.env.coltypes)) >= 0)
       this.set_env('flagged_col', found);
 
+    if ((found = $.inArray('subject', this.env.coltypes)) >= 0)
+      this.set_env('subject_col', found);
+
     this.http_post('save-pref', { '_name':'list_cols', '_value':this.env.coltypes });
   };
 

--
Gitblit v1.9.1