Prevent switching row when double click on expander
Closes #12732 (grafted from f1ce4d6a8fe85a007eae863ce9ecea181f725de7) --HG-- branch : 6.0
This commit is contained in:
1 parent
21bf2e841b
commit
c4f983cf39
1 file changed
+5
@@ -1349,6 +1349,11 @@
|
||||
this.expander.children().html(' ');
|
||||
this.expander.on('click keypress',
|
||||
Sao.common.click_press(this.toggle_row.bind(this)));
|
||||
this.expander.dblclick(function (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