mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
form.js: Don't ignore autosubmit elements
A while ago this already has changed so that autosubmit responses are guaranteed to be applied. Thus this exception is now obsolete. fixes #4942
This commit is contained in:
parent
3187a4e549
commit
8cd892359d
@ -81,7 +81,6 @@
|
|||||||
if ($container.has(origFocus).length
|
if ($container.has(origFocus).length
|
||||||
&& $(origFocus).length
|
&& $(origFocus).length
|
||||||
&& ! $(origFocus).hasClass('autofocus')
|
&& ! $(origFocus).hasClass('autofocus')
|
||||||
&& ! $(origFocus).hasClass('autosubmit')
|
|
||||||
&& $(origFocus).closest('form').length
|
&& $(origFocus).closest('form').length
|
||||||
&& $(origFocus).not(':input[type=button], :input[type=submit], :input[type=reset]').length
|
&& $(origFocus).not(':input[type=button], :input[type=submit], :input[type=reset]').length
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user