From 068f6a4920bc36ab73105c6cafb05479c0673509 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Thu, 28 Dec 2006 10:43:10 -0500
Subject: [PATCH] Display draft messages in preview pane (closes #1484173).

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

diff --git a/program/js/app.js b/program/js/app.js
index 50c6b58..1f89bd7 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1091,13 +1091,13 @@
       {
       this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', selected);
       this.enable_command('delete', 'moveto', list.selection.length>0 ? true : false);
-
-      // start timer for message preview (wait for double click)
-      if (selected && this.env.contentframe)
-        this.preview_timer = setTimeout(function(){ ref.msglist_get_preview(); }, this.dblclick_time + 10);
-      else if (this.env.contentframe)
-        this.show_messageframe(false);
       }
+
+    // start timer for message preview (wait for double click)
+    if (selected && this.env.contentframe)
+      this.preview_timer = setTimeout(function(){ ref.msglist_get_preview(); }, this.dblclick_time + 10);
+    else if (this.env.contentframe)
+      this.show_messageframe(false);
     };
 
 

--
Gitblit v1.9.1