Fix Bug 39921 - World wide languages need not be repeated in all regions.

Change-Id: I4470a2a7976df17f6f0f8f97d15ce12163cc3c27
This commit is contained in:
Santhosh Thottingal
2012-09-03 18:09:34 +05:30
parent 01b41b9783
commit 7a64e48321

View File

@@ -57,6 +57,11 @@
regions = $.uls.data.regions( langCode );
}
// World wide languages need not be repeated in all regions.
if ( $.inArray( 'WW', regions ) > -1 ) {
regions = [ 'WW' ];
}
for ( var i = 0; i < regions.length; i++ ) {
var regionCode = regions[i];