Allow selecting form elements in action table rows

fixes #10045
This commit is contained in:
Matthias Jentsch 2015-09-07 11:27:46 +02:00
parent c9c5762320
commit ef6debfa32

View File

@ -320,7 +320,9 @@
// some rows may contain form actions that trigger a different action, pass those through // some rows may contain form actions that trigger a different action, pass those through
if (!$target.hasClass('rowaction') && $target.closest('form').length && if (!$target.hasClass('rowaction') && $target.closest('form').length &&
($target.closest('a').length || $target.closest('button').length)) { ($target.closest('a').length || // allow regular link clinks
$target.closest('button').length || // allow submitting forms
$target.closest('input').length || $target.closest('label').length)) { // allow selecting form elements
return; return;
} }