Clear the search once a search and selection is done
See https://bugzilla.wikimedia.org/show_bug.cgi?id=48151 Change-Id: I7b354835c7ff438bb665ca6f9b62da6ff5059e1c
This commit is contained in:
@@ -295,7 +295,7 @@
|
|||||||
*/
|
*/
|
||||||
select: function ( langCode ) {
|
select: function ( langCode ) {
|
||||||
this.hide();
|
this.hide();
|
||||||
|
this.$languageFilter.trigger( 'searchclear' );
|
||||||
if ( this.options.onSelect ) {
|
if ( this.options.onSelect ) {
|
||||||
this.options.onSelect.call( this, langCode );
|
this.options.onSelect.call( this, langCode );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user