summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-05 15:59:49 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-05 15:59:49 +0000
commitea8baf9f10bd205a7cc469f5ae2f1247121cc14b (patch)
tree25080e019912dbd2aaaefb8bd933772366cb789f /roundcubemail/program
parente00b91a9f6bb510945e719df670ff55b61d2dbc7 (diff)
Avoid dblclick events after 3rd click
git-svn-id: https://svn.roundcube.net/trunk@5721 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index 0d124ac7c..ff0544f14 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/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');