mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
JS: Ignore ids startings w/ form_ in getCSSPath
protectId makes ids change over subsequent requests.
This commit is contained in:
parent
a65398d5c9
commit
ebab4e8473
@ -286,7 +286,7 @@
|
||||
while (true) {
|
||||
var id = $node.attr('id');
|
||||
|
||||
if (typeof id !== 'undefined') {
|
||||
if (typeof id !== 'undefined' && id.indexOf('form_') !== 0) {
|
||||
path.push('#' + id);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user