Adding utility functions for the ULS langdb

* More functions for making useful queries to the langdb.
* Tests.

Change-Id: I29a3a25ef1b15d5925df2aa3d06f9221f8e5231e
This commit is contained in:
Amir E. Aharoni
2012-06-26 22:55:32 +03:00
parent 03df48a609
commit 43d7604203
3 changed files with 127 additions and 3 deletions

View File

@@ -48,6 +48,8 @@
// Register all event listeners to the ULS here.
that.$element.on( 'click', $.proxy( that.click, that ) );
$( ".icon-close" ).on( 'click', $.proxy( that.click, that ) );
// The search input box
$( "#languagefilter" ).languagefilter( {
$target: $( 'ul.uls-language-filter-result' ),
clickhandler: function( langCode ) {
@@ -55,6 +57,7 @@
},
languages: that.languages
} );
// Create region selectors, one per region
$( '.uls-region' ).regionselector( {
$target: $( 'ul.uls-language-filter-result' ),