summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Thompson <pthompson@qvalent.com>2015-11-25 10:21:12 +1100
committerPaul Thompson <pthompson@qvalent.com>2015-11-25 10:21:12 +1100
commitfea0ba1cf4743740da2b2af3b20a78171a6ce8b0 (patch)
treec0f21fa25321ec1f222ac37624990e341edea747
parentb960b96e324cba97ee2a9a371a6df321c3cd622f (diff)
downloadarchiva-fea0ba1cf4743740da2b2af3b20a78171a6ce8b0.tar.gz
archiva-fea0ba1cf4743740da2b2af3b20a78171a6ce8b0.zip
Adding alphabetical order for the whitelist
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js1
1 files changed, 1 insertions, 0 deletions
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 7c498f3cf..48019c72a 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
@@ -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);