From: Olivier Lamy Date: Mon, 19 Nov 2012 15:22:47 +0000 (+0000) Subject: [MRM-1712] Add buttons for managing proxy connectors rules as can be a pain with... X-Git-Tag: archiva-1.4-M4~617 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3292b98b72547a81300f390c92792a27418f415b;p=archiva.git [MRM-1712] Add buttons for managing proxy connectors rules as can be a pain with long list of repositories. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1411243 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js index efcbda1db..ef2b2e99b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js @@ -40,6 +40,15 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra return ruleType; } + this.findProxyConnector=function(sourceRepoId,targetRepoId){ + for(var i=0;i
+ data-bind="sortable: { template: 'proxy-connectors-rules-edit-proxy-connectors-tmpl-choosen',data:proxyConnectorRule.proxyConnectors,afterMove:proxyConnectorMoved}">
${$.i18n.prop('proxy-connector-rules.available.proxyConnectors')}

-
+
@@ -1507,11 +1507,22 @@
- + + \ No newline at end of file