Update jquery.uls to c9c2056

Changes:
* Localization updates.
* Update language-data to 9a506b9.
* Allow identifying the context of the different ULS panels within one
 app.
* Convert ulsPurpose from a data attribute to an languagefilter option.

Change-Id: I7805ce226b0f8db8545b126c331e2a5915021a3c
This commit is contained in:
Kartik Mistry
2018-03-05 11:16:39 +05:30
parent 67d470a9e7
commit 6226f80b81
6 changed files with 169 additions and 9 deletions

View File

@@ -230,6 +230,7 @@
this.$languageFilter.languagefilter( {
lcd: lcd,
languages: this.languages,
ulsPurpose: this.options.ulsPurpose,
searchAPI: this.options.searchAPI,
onSelect: $.proxy( this.select, this )
} );
@@ -393,6 +394,10 @@
// The options are wide (4 columns), medium (2 columns), and narrow (1 column).
// If not specified, it will be set automatically.
menuWidth: undefined,
// What is this ULS used for.
// Should be set for distinguishing between different instances of ULS
// in the same application.
ulsPurpose: '',
// Used by LCD
quickList: [],
// Used by LCD