]> source.dussan.org Git - archiva.git/commitdiff
Adding alphabetical order for the whitelist
authorPaul Thompson <pthompson@qvalent.com>
Tue, 24 Nov 2015 23:21:12 +0000 (10:21 +1100)
committerPaul Thompson <pthompson@qvalent.com>
Tue, 24 Nov 2015 23:21:12 +0000 (10:21 +1100)
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js

index 7c498f3cf44d5142af88e9e41f79c1378f37ad1c..48019c72abb92922f09bf33c8513b1021343e4d1 100644 (file)
@@ -191,6 +191,7 @@ define("archiva/admin/repository/maven2/proxy-connectors",["jquery","i18n","jque
       var pattern = $("#main-content" ).find("#whitelist-value").val();
       var tab =  self.proxyConnector.whiteListPatterns();
       tab.push(pattern);
+      tab.sort();
       self.proxyConnector.whiteListPatterns(tab);
       self.proxyConnector.modified(true);