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
|
||||
&& $(origFocus).length
|
||||
&& ! $(origFocus).hasClass('autofocus')
|
||||
&& ! $(origFocus).hasClass('autosubmit')
|
||||
&& $(origFocus).closest('form').length
|
||||
&& $(origFocus).not(':input[type=button], :input[type=submit], :input[type=reset]').length
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue