From dceb664b04c643b0aa86d50f9373fa9cced48c54 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Fri, 24 May 2013 17:12:54 +0530 Subject: [PATCH] Clear the search once a search and selection is done See https://bugzilla.wikimedia.org/show_bug.cgi?id=48151 Change-Id: I7b354835c7ff438bb665ca6f9b62da6ff5059e1c --- src/jquery.uls.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 060d694..a97cb46 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -295,7 +295,7 @@ */ select: function ( langCode ) { this.hide(); - + this.$languageFilter.trigger( 'searchclear' ); if ( this.options.onSelect ) { this.options.onSelect.call( this, langCode ); }