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

index 48019c72abb92922f09bf33c8513b1021343e4d1..a988ba5f0d4675d7d335888d113fc438d9cb71a6 100644 (file)
@@ -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);
     }