RCFilters: Send form info even for empty checkboxes
authorMoriel Schottlender <moriel@gmail.com>
Tue, 13 Jun 2017 23:04:57 +0000 (16:04 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Tue, 13 Jun 2017 23:04:57 +0000 (16:04 -0700)
commit89cc9afb772490e67c188adbed09697571a758dc
tree14615506f7577b1f011d15b8c7f7713b9a657422
parentdae4c94d893057345f62a3d498fb85c0a54de5a6
RCFilters: Send form info even for empty checkboxes

Make sure the url params override previous ones in case they are
empty, make sure we still send them through the fieldset form with
an empty value, rather than not send them at all (and then they are
being re-merged into the existing URL and become essentially 'sticky')

Change-Id: I294dba17c5a5b792f5bf5064a76dedefa4d12557
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FormWrapperWidget.js