RCFilters: Followup I5cede87633147: Set actual value rather than object
authorMoriel Schottlender <moriel@gmail.com>
Thu, 29 Jun 2017 18:53:05 +0000 (11:53 -0700)
committerCatrope <roan@wikimedia.org>
Thu, 29 Jun 2017 19:03:36 +0000 (19:03 +0000)
Bug: T169042
Change-Id: Ib99981c212dbe1522defc1c1cc34fa01fff91dba

resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SaveFiltersPopupButtonWidget.js

index 7aaf6b3..62f7aee 100644 (file)
                // apply button should be disabled if the label is empty
                if ( label ) {
                        this.controller.saveCurrentQuery( label );
-                       this.input.setValue( this.input, '' );
+                       this.input.setValue( '' );
                        this.popup.toggle( false );
 
                        this.emit( 'saveCurrent' );