mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
input-enrichment.js: Add method update()
This commit is contained in:
parent
67de8a079a
commit
dc5e39ef1c
@ -39,6 +39,16 @@
|
|||||||
};
|
};
|
||||||
InputEnrichment.prototype = new Icinga.EventListener();
|
InputEnrichment.prototype = new Icinga.EventListener();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param data
|
||||||
|
*/
|
||||||
|
InputEnrichment.prototype.update = function (data) {
|
||||||
|
var input = document.querySelector(data[0]);
|
||||||
|
if (input !== null && this._enrichments.has(input)) {
|
||||||
|
this._enrichments.get(input).updateTerms(data[1]);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param event
|
* @param event
|
||||||
* @param content
|
* @param content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user