collapsible.js: Listen for rendered events on all containers
not just #col2
This commit is contained in:
parent
0574f44bd9
commit
0ed030410f
|
@ -14,7 +14,7 @@
|
||||||
var Collapsible = function (icinga) {
|
var Collapsible = function (icinga) {
|
||||||
Icinga.EventListener.call(this, icinga);
|
Icinga.EventListener.call(this, icinga);
|
||||||
|
|
||||||
this.on('rendered', '#col2', this.onRendered, this);
|
this.on('rendered', '.container', this.onRendered, this);
|
||||||
this.on('click', '.collapsible + .collapsible-control', this.onControlClicked, this);
|
this.on('click', '.collapsible + .collapsible-control', this.onControlClicked, this);
|
||||||
|
|
||||||
this.icinga = icinga;
|
this.icinga = icinga;
|
||||||
|
|
Loading…
Reference in New Issue