diff options
author | thomascube <thomas@roundcube.net> | 2012-01-05 15:59:49 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-05 15:59:49 +0000 |
commit | fc643e985a4f8840df3456651c045e8699556289 (patch) | |
tree | 3aac13462a284d0af4df852c7ab394f38dd88756 /program | |
parent | 0e530bd9203e79218e9aad631e8495794a72a042 (diff) |
Avoid dblclick events after 3rd click
Diffstat (limited to 'program')
-rw-r--r-- | program/js/list.js | 4 |
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'); |