mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
js: handler for recently added drop-down button
This commit is contained in:
parent
83582e9245
commit
d132633ff9
@ -514,6 +514,12 @@
|
||||
ev.stopPropagation();
|
||||
return false;
|
||||
*/
|
||||
} else if (el.name.match(/__DROP_DOWN$/)) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
var $el = $(ev.currentTarget).closest('li').find('input[type=text]');
|
||||
this.getSuggestionList($el);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
@ -785,4 +791,3 @@
|
||||
Icinga.availableModules.director = Director;
|
||||
|
||||
}(Icinga));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user