RC Filters: Don't apply/clear highlighting while still initializing
authorKosta Harlan <kharlan@wikimedia.org>
Wed, 27 Jun 2018 20:58:22 +0000 (16:58 -0400)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 27 Jun 2018 22:37:01 +0000 (15:37 -0700)
commit64b266b960a25a03af40ff0235d7a98d773098f9
tree0bc18ed6de79693d375ab9a4f4825e88c77fef53
parent2f7a4bb288358dbebd751ecf4373fa3ed8ad0b33
RC Filters: Don't apply/clear highlighting while still initializing

this.controller.isInitialized() is still false on page load, we don't want to
clear/apply highlights at this stage.

Remove Controller's this.initializing in favor of this.initialized,
expose it through isInitialized(), and remove ChangesListWrapperWidget's
this.filterModelInitialized since it's now unused.

Bug: T198359
Change-Id: I284ded2c6dd891dfb3efab5c6800c26a806ce306
resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js