From ef6debfa32691409f37bd9f839683b819433ef8a Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Mon, 7 Sep 2015 11:27:46 +0200 Subject: [PATCH] Allow selecting form elements in action table rows fixes #10045 --- public/js/icinga/behavior/actiontable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/icinga/behavior/actiontable.js b/public/js/icinga/behavior/actiontable.js index 0acf528fd..48d214836 100644 --- a/public/js/icinga/behavior/actiontable.js +++ b/public/js/icinga/behavior/actiontable.js @@ -320,7 +320,9 @@ // some rows may contain form actions that trigger a different action, pass those through 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; }