input-enrichment.js: Only handle content inside top-level or modal containers
This commit is contained in:
parent
646d8928c3
commit
57dc42dbf7
|
@ -27,8 +27,8 @@
|
||||||
var InputEnrichment = function (icinga) {
|
var InputEnrichment = function (icinga) {
|
||||||
Icinga.EventListener.call(this, icinga);
|
Icinga.EventListener.call(this, icinga);
|
||||||
|
|
||||||
this.on('beforerender', this.onBeforeRender, this);
|
this.on('beforerender', '#main > .container, #modal-content', this.onBeforeRender, this);
|
||||||
this.on('rendered', this.onRendered, this);
|
this.on('rendered', '#main > .container, #modal-content', this.onRendered, this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enriched inputs
|
* Enriched inputs
|
||||||
|
|
Loading…
Reference in New Issue