collapsible.js: Only handle content inside top-level or modal containers
This commit is contained in:
parent
f932a4a44c
commit
29d0b8f2c7
|
@ -15,7 +15,7 @@
|
||||||
Icinga.EventListener.call(this, icinga);
|
Icinga.EventListener.call(this, icinga);
|
||||||
|
|
||||||
this.on('layout-change', this.onLayoutChange, this);
|
this.on('layout-change', this.onLayoutChange, this);
|
||||||
this.on('rendered', '#layout', this.onRendered, this);
|
this.on('rendered', '#main > .container, #modal-content', this.onRendered, this);
|
||||||
this.on('click', '.collapsible + .collapsible-control, .collapsible > .collapsible-control',
|
this.on('click', '.collapsible + .collapsible-control, .collapsible > .collapsible-control',
|
||||||
this.onControlClicked, this);
|
this.onControlClicked, this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue