diff options
author | Paul Thompson <pthompson@qvalent.com> | 2015-11-25 10:21:12 +1100 |
---|---|---|
committer | Paul Thompson <pthompson@qvalent.com> | 2015-11-25 10:21:12 +1100 |
commit | fea0ba1cf4743740da2b2af3b20a78171a6ce8b0 (patch) | |
tree | c0f21fa25321ec1f222ac37624990e341edea747 | |
parent | b960b96e324cba97ee2a9a371a6df321c3cd622f (diff) | |
download | archiva-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.js | 1 |
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); |