Stop propagation of click event on button in tree view
If the button is going to be executed, the selection of the row must not change so the propagation must be stopped before reaching the row. Closes #14118
This commit is contained in:
@@ -3211,6 +3211,7 @@
|
||||
if (states.invisible || states.readonly) {
|
||||
return;
|
||||
}
|
||||
event.stopImmediatePropagation();
|
||||
button.el.prop('disabled', true); // state will be reset at display
|
||||
var row = this.view.rows.find(function(row) {
|
||||
return row.record == record;
|
||||
|
||||
Reference in New Issue
Block a user