diff options
author | William Desportes <williamdes@wdes.fr> | 2021-04-25 16:27:42 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2021-04-25 16:30:46 +0300 |
commit | 9dec0c6c0ce21c5f7cb50ec53598ca4b25abeb2f (patch) | |
tree | aa10d314f6284c54fb74605877e9b34e6876b4d2 /js | |
parent | fe8f92b2acdbf63b40e3cd273ef8f0deb622ac7f (diff) | |
parent | 81bcf459a54d67596a31e3110e72ad44efbed474 (diff) |
Merge #16426 - Fix #16420 - Single clicking on row starts editing even if GridEditing is set to double-click
Pull-request: #16426
Fixes: #16420
Reverts: #14411
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'js')
-rw-r--r-- | js/src/makegrid.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/js/src/makegrid.js b/js/src/makegrid.js index cf6713a739..efb8e300a7 100644 --- a/js/src/makegrid.js +++ b/js/src/makegrid.js @@ -2040,13 +2040,6 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid // start grid-editing startGridEditing(e, this); } - } else {// If it is not a link or it is a double tap then call startGridEditing - // this is a double click, cancel the single click timer - // and make the click count 0 - clearTimeout($cell.data('timer')); - $cell.data('clicks', 0); - // start grid-editing - startGridEditing(e, this); } }) .on('dblclick', function (e) { |