From 21168d21cc75f6ccf79416e76b8e52f78afae181 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Mon, 31 Mar 2008 10:49:54 -0400
Subject: [PATCH] Don't preview message if dragging or multi-selecting it, closes #1484316.

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

diff --git a/program/js/list.js b/program/js/list.js
index e42d3f6..8ff0b2d 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -35,6 +35,7 @@
   this.subject_col = -1;
   this.shiftkey = false;
   this.multiselect = false;
+  this.multi_selecting = false;
   this.draggable = false;
   this.keyboard = false;
   this.toggleselect = false;
@@ -319,6 +320,7 @@
   {
     this.shift_start = id;
     this.highlight_row(id, false);
+    this.multi_selecting = false;
   }
   else
   {
@@ -341,6 +343,7 @@
         this.highlight_row(id, false);
         break;
     }
+    this.multi_selecting = true;
   }
 
   // trigger event if selection changed

--
Gitblit v1.9.1