Prevent switching row when double click on expander
Closes #12732 (grafted from f1ce4d6a8fe85a007eae863ce9ecea181f725de7) --HG-- branch : 7.0
This commit is contained in:
1 parent
6e490d871e
commit
87bc10f160
1 file changed
+5
@@ -1562,6 +1562,11 @@
|
||||
this.expander.children().html(' ');
|
||||
this.expander.on('click keypress',
|
||||
Sao.common.click_press(this.toggle_row.bind(this)));
|
||||
this.expander.dblclick((evt) => {
|
||||
// prevent calling switch_row on td
|
||||
evt.preventDefault();
|
||||
evt.stopImmediatePropagation();
|
||||
});
|
||||
}
|
||||
|
||||
for (var i = 0; i < this.tree.columns.length; i++) {
|
||||
|
||||
Reference in new issue
Block a user