From fc643e985a4f8840df3456651c045e8699556289 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 5 Jan 2012 15:59:49 +0000 Subject: Avoid dblclick events after 3rd click --- program/js/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/js') 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'); -- cgit v1.2.3