From: Paul Thompson Date: Tue, 24 Nov 2015 23:21:41 +0000 (+1100) Subject: Adding alphabetical ordering for blacklist X-Git-Tag: archiva-2.2.1~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fd14e40c2bbbef3ff58dfe17ab6285d0dcb90d9;p=archiva.git Adding alphabetical ordering for blacklist --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js index 48019c72a..a988ba5f0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js @@ -178,6 +178,7 @@ define("archiva/admin/repository/maven2/proxy-connectors",["jquery","i18n","jque var pattern = $("#main-content").find("#blacklist-value").val(); var tab = self.proxyConnector.blackListPatterns(); tab.push(pattern); + tab.sort(); self.proxyConnector.blackListPatterns(tab); self.proxyConnector.modified(true); }