summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-05 15:59:49 +0000
committerthomascube <thomas@roundcube.net>2012-01-05 15:59:49 +0000
commitfc643e985a4f8840df3456651c045e8699556289 (patch)
tree3aac13462a284d0af4df852c7ab394f38dd88756 /program/js
parent0e530bd9203e79218e9aad631e8495794a72a042 (diff)
Avoid dblclick events after 3rd click
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 0d124ac7c..ff0544f14 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -350,8 +350,10 @@ click_row: function(e, id)
this.in_selection_before = false;
// row was double clicked
- if (this.rows && dblclicked && this.in_selection(id))
+ if (this.rows && dblclicked && this.in_selection(id)) {
this.triggerEvent('dblclick');
+ now = 0;
+ }
else
this.triggerEvent('click');