/**
* Respond to model itemUpdate event
+ * fixme: when a new state is applied to the model this function is called 60+ times in a row
*
* @param {mw.rcfilters.dm.FilterItem} item Filter item model
*/
item.isSelected() ||
(
this.model.isHighlightEnabled() &&
- item.isHighlightSupported() &&
item.getHighlightColor()
)
) {
}
}.bind( this ) );
}
+
+ this.setSavedQueryVisibility();
};
/**
if ( filterItem ) {
return new mw.rcfilters.ui.FilterTagItemWidget(
this.controller,
+ this.model,
this.model.getInvertModel(),
filterItem,
{