From: Alan Knowles Date: Mon, 14 Mar 2011 09:51:48 +0000 (+0800) Subject: Pman.I18n.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a6d7c24eff76d99fdaf10c0d62576b047c853efc Pman.I18n.js --- diff --git a/Pman.I18n.js b/Pman.I18n.js index 35ac74b9..dcb8616b 100644 --- a/Pman.I18n.js +++ b/Pman.I18n.js @@ -135,11 +135,11 @@ Pman.I18n = { ret.push([ o.code, o.title ]); }); - ret = ret.sort(function(a,b) { + var xret = ret.sort(function(a,b) { a[1] > b[1] ? 1 : -1; }); - return ret; + return xret; }, // DEPRECIATED... -- see dataToProxy countryStore : function() { return {