Don't stop auto-refresh when a form button has focus
This commit is contained in:
parent
f53eb48e38
commit
eef982f3c3
|
@ -100,6 +100,7 @@
|
||||||
&& ! $(origFocus).hasClass('autofocus')
|
&& ! $(origFocus).hasClass('autofocus')
|
||||||
&& ! $(origFocus).hasClass('autosubmit')
|
&& ! $(origFocus).hasClass('autosubmit')
|
||||||
&& $(origFocus).closest('form').length
|
&& $(origFocus).closest('form').length
|
||||||
|
&& $(origFocus).not(':input[type=button], :input[type=submit], :input[type=reset]').length
|
||||||
) {
|
) {
|
||||||
icinga.logger.debug('Not changing content for ' + containerId + ' form has focus');
|
icinga.logger.debug('Not changing content for ' + containerId + ' form has focus');
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue