mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Revert "utils.js: Utilize ids of forms and elements in getCssPath"
This reverts commit c835f02953e13519f8326817dd326c5565154995.
This commit is contained in:
parent
c0e102cedd
commit
50f5aa0ac3
@ -286,7 +286,8 @@
|
||||
while (true) {
|
||||
var id = $node.attr('id');
|
||||
|
||||
if (typeof id !== 'undefined') {
|
||||
// Ignore forms and form controls because id generation is unreliable :(
|
||||
if (typeof id !== 'undefined' && ! $node.is(':input') && ! $node.is('form')) {
|
||||
path.push('#' + id);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user