aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/js/nms-info-box.js
diff options
context:
space:
mode:
authorNicolai Tellefsen <niccofyren@gmail.com>2016-03-22 00:06:54 +0100
committerNicolai Tellefsen <niccofyren@gmail.com>2016-03-22 00:06:54 +0100
commita90e2a42b2a082e4c92f991d16b552640ca8455a (patch)
tree64d92503cac0ddcb5eab9852d7aa5ed7296276c4 /web/nms.gathering.org/js/nms-info-box.js
parent5ba657e0bca0e4970b08583f6dfc94bfae34741c (diff)
NMS: Sort switch edit fields alphabeticaly
Diffstat (limited to 'web/nms.gathering.org/js/nms-info-box.js')
-rw-r--r--web/nms.gathering.org/js/nms-info-box.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js
index cbdf942..a484706 100644
--- a/web/nms.gathering.org/js/nms-info-box.js
+++ b/web/nms.gathering.org/js/nms-info-box.js
@@ -250,6 +250,8 @@ nmsInfoBox._windowTypes.switchInfo = {
content.push([v, html]);
}
+ content.sort();
+
var table = nmsInfoBox._makeTable(content, "edit");
domObj.appendChild(table);