mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
34344915f2
commit
e468329051
@ -734,8 +734,11 @@
|
|||||||
|
|
||||||
var activeElementPath = false;
|
var activeElementPath = false;
|
||||||
var focusFallback = false;
|
var focusFallback = false;
|
||||||
|
|
||||||
if (forceFocus && forceFocus.length) {
|
if (forceFocus && forceFocus.length) {
|
||||||
activeElementPath = this.icinga.utils.getCSSPath($(forceFocus));
|
activeElementPath = this.icinga.utils.getCSSPath($(forceFocus));
|
||||||
|
} else if (document.activeElement.id === 'search') {
|
||||||
|
activeElementPath = '#search';
|
||||||
} else if (document.activeElement
|
} else if (document.activeElement
|
||||||
&& document.activeElement !== document.body
|
&& document.activeElement !== document.body
|
||||||
&& $.contains($container[0], document.activeElement)
|
&& $.contains($container[0], document.activeElement)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user