RCFilters: React to popup 'ready' event
authorMoriel Schottlender <moriel@gmail.com>
Tue, 4 Apr 2017 22:43:52 +0000 (15:43 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Tue, 4 Apr 2017 22:43:52 +0000 (15:43 -0700)
commitbfc8019f6e3fce909d2ac33f727e5a63e7a6188b
treea631ee6d66c89b48e17b79c5a3e91ad8648b598e
parent9c8f2c4597d7a5d94b4b8738434ee60002b06685
RCFilters: React to popup 'ready' event

The new 'ready' event is emitted after the popup is already positioned
and clipped, we should respond to that event when displaying and
manipulating the elements rather than 'toggle', which is emitted
before the popup is placed correctly.

Change-Id: I84a74a10eb4d88e14899752019214633d9f41cb8
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js