Folowup I341c3f7c: Fire wikipage.content with the correct content
authorMoriel Schottlender <moriel@gmail.com>
Thu, 23 Feb 2017 21:54:41 +0000 (13:54 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Thu, 23 Feb 2017 21:54:41 +0000 (13:54 -0800)
commit45592586b487c32c63a38138983fdc9594468cb9
treede200a7481e023a0631dc3fa80553ee89fbf7441
parentb3fbdff0774e25c59a0349394cc5b77ada9acdf4
Folowup I341c3f7c: Fire wikipage.content with the correct content

The content we are getting from the Ajax request can be either a
jQuery or string, which makes the handler of the event break.

Instead, pass in this.$element which already wrapped the response.

Change-Id: I1c1231b1476fb2cbef10231fdd853401ebf02ed3
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js