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:
Santhosh Thottingal
2013-05-24 17:12:54 +05:30
parent bc23e213b2
commit dceb664b04

View File

@@ -295,7 +295,7 @@
*/
select: function ( langCode ) {
this.hide();
this.$languageFilter.trigger( 'searchclear' );
if ( this.options.onSelect ) {
this.options.onSelect.call( this, langCode );
}