gMerge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX

This commit is contained in:
Steffen Jost 2019-06-14 07:28:20 +02:00
commit 9b7d63d469

View File

@ -36,7 +36,7 @@ export class CheckAll {
}
destroy() {
console.log('TBD: Destroy CheckAll');
this._checkAllCheckbox.destroy();
}
_getCheckboxId() {
@ -95,7 +95,7 @@ export class CheckAll {
// set up new checkbox
this._app.utilRegistry.setupAll(th);
this._checkAllCheckbox.addEventListener('input', this._onCheckAllCheckboxInput);
this._checkAllCheckbox.addEventListener('input', () => this._onCheckAllCheckboxInput());
this._setupCheckboxListeners();
}
@ -108,7 +108,7 @@ export class CheckAll {
return cell.querySelector(CHECKBOX_SELECTOR);
})
.forEach((checkbox) => {
checkbox.addEventListener('input', this.updateCheckAllCheckboxState);
checkbox.addEventListener('input', () => this._updateCheckAllCheckboxState());
});
}