1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-15 15:15:45 +01:00

Merge branch 'master' into refactor-popup-filters-options

This commit is contained in:
Max Guglielmi 2017-05-27 22:42:03 +10:00
commit 92e743a67e
13 changed files with 37 additions and 24 deletions

View file

@ -373,7 +373,7 @@ export class PopupFilter extends Feature {
if (i === exceptIdx) {
continue;
}
let fltType = tf.getFilterType(i);
let fltType = this.tf.getFilterType(i);
let isMultipleFilter =
(fltType === CHECKLIST || fltType === MULTIPLE);
@ -443,7 +443,7 @@ export class PopupFilter extends Feature {
this.fltIcons = [];
// TODO: expose an API to handle external filter IDs
tf.externalFltTgtIds = [];
this.tf.externalFltTgtIds = [];
// unsubscribe to events
this.emitter.off(['before-filtering'], () => this.setIconsState());