From 8ca0d0ced441aced598484eb1e28b38124f1edb5 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 18 Sep 2018 02:31:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=A0=84?= =?UTF-8?q?=EC=86=A1=20=EC=8B=9C=20=EC=9E=A5=EC=88=98=EB=AA=85=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=EB=8C=80=EB=A1=9C=20=EC=A0=95=EB=A0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/msg.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hwe/js/msg.js b/hwe/js/msg.js index ca65c7a0..06936ca6 100644 --- a/hwe/js/msg.js +++ b/hwe/js/msg.js @@ -257,6 +257,16 @@ function refreshMailboxList(obj){ $optgroup.css('color', 'white'); } + nation.general.sort(function(lhs, rhs){ + if(lhs[1] < rhs[1]){ + return -1; + } + if(lhs[1] > rhs[1]){ + return 1; + } + return 0; + }); + $.each(nation.general, function(){ var generalID = this[0]; var generalName = this[1];