From a6d7c24eff76d99fdaf10c0d62576b047c853efc Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 14 Mar 2011 17:51:48 +0800 Subject: [PATCH] Pman.I18n.js --- Pman.I18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2