i18n the placeholder text in language selector and correct the onready

callback
This commit is contained in:
Santhosh Thottingal
2012-10-09 19:41:32 +05:30
parent f35d20128f
commit 76094b8e03
5 changed files with 19 additions and 9 deletions

View File

@@ -108,7 +108,7 @@
ready: function() {
if ( this.options.onReady ) {
this.options.onReady( this );
this.options.onReady.call( this );
}
},
@@ -152,6 +152,7 @@
i18n: function() {
this.$menu.find( '[data-i18n]' ).i18n();
this.$languageFilter.prop( 'placeholder', $.i18n( 'uls-search-placeholder' ) );
},
defaultSearch: function () {