mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
js/module: fix JS error on missing id
This commit is contained in:
parent
f3e526f95f
commit
cf4903ff70
@ -29,7 +29,7 @@
|
||||
{
|
||||
var $input = $(ev.currentTarget);
|
||||
var $dd = $input.closest('dd');
|
||||
if ($dd.attr('id').match(/button/)) {
|
||||
if ($dd.attr('id') && $dd.attr('id').match(/button/)) {
|
||||
return;
|
||||
}
|
||||
var $li = $input.closest('li');
|
||||
|
Loading…
x
Reference in New Issue
Block a user