Always use autonyms for search results

Change-Id: Iacbaa78c9f66b0c754ac9faf9bb2752f95b35693
This commit is contained in:
Santhosh Thottingal
2012-08-07 16:06:05 +05:30
parent 279fc73826
commit e0e4c9e1b8
2 changed files with 9 additions and 11 deletions

View File

@@ -134,7 +134,7 @@
// Autofill the first result.
that.autofill( code, name );
}
that.render( code, name );
that.render( code );
that.resultCount++;
} );
that.resultHandler( query );
@@ -178,12 +178,12 @@
this.$suggestion.val( suggestion );
},
render: function( langCode, languageName ) {
render: function( langCode ) {
var $target = this.options.$target;
if ( !$target ) {
return;
}
$target.append( langCode, null, languageName );
$target.append( langCode, null );
},
escapeRegex: function( value ) {