From 2965a981b7ec22866fbdf2d567d87e2d068d3617 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 31 Jul 2015 16:04:08 -0400
Subject: [PATCH] Allow to search and import missing PGP pubkeys from keyservers using Publickey.js

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

diff --git a/program/js/list.js b/program/js/list.js
index 9c41a12..d5a1eb1 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -152,7 +152,12 @@
 
     // set eventhandlers to table row (only left-button-clicks in mouseup)
     $(row).mousedown(function(e) { return self.drag_row(e, this.uid); })
-      .mouseup(function(e) { if (e.which == 1) return self.click_row(e, this.uid); });
+      .mouseup(function(e) {
+        if (e.which == 1 && !self.drag_active)
+          return self.click_row(e, this.uid);
+        else
+          return true;
+      });
 
     if (bw.touch && row.addEventListener) {
       row.addEventListener('touchstart', function(e) {

--
Gitblit v1.9.1