js/events: ignore button/submit clicks
In case you clicked a (submit) button in an action row this also also triggered that row's click handler. As the event is going to be stopped there, this leads to "unsubmittable forms". Fixed. fixes #6963
This commit is contained in:
parent
686152abf3
commit
538c6cf90b
|
@ -501,6 +501,12 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
// Ignore form elements in action rows
|
||||
if ($(event.target).is('input') || $(event.target).is('button')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// ignore multiselect table row clicks
|
||||
if ($a.is('tr') && $a.closest('table.multiselect').length > 0) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue