thomascube
2012-01-05 fc643e985a4f8840df3456651c045e8699556289
Avoid dblclick events after 3rd click

1 files modified
4 ■■■ changed files
program/js/list.js 4 ●●● patch | view | raw | blame | history
program/js/list.js
@@ -350,8 +350,10 @@
  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');