actiontable.js: Don't ignore sub-containers
Just avoid that they are processed multiple times. fixes #4710
This commit is contained in:
parent
7a12849a66
commit
707677eebd
|
@ -348,8 +348,8 @@
|
|||
*/
|
||||
this.loading = false;
|
||||
|
||||
this.on('rendered', '#main > .container', this.onRendered, this);
|
||||
this.on('beforerender', '#main > .container', this.beforeRender, this);
|
||||
this.on('rendered', '#main .container', this.onRendered, this);
|
||||
this.on('beforerender', '#main .container', this.beforeRender, this);
|
||||
this.on('click', 'table.action tr[href], table.table-row-selectable tr[href]', this.onRowClicked, this);
|
||||
};
|
||||
ActionTable.prototype = new Icinga.EventListener();
|
||||
|
@ -437,7 +437,7 @@
|
|||
var _this = evt.data.self;
|
||||
|
||||
if (evt.currentTarget !== container) {
|
||||
// Nested containers are ignored
|
||||
// Nested containers are not processed multiple times
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -481,7 +481,7 @@
|
|||
var _this = evt.data.self;
|
||||
|
||||
if (evt.currentTarget !== container) {
|
||||
// Nested containers are ignored
|
||||
// Nested containers are not processed multiple times
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue