From 710d7058c322c81b6e325606ab0e9573aa237035 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 30 Jan 2012 14:57:11 +0000 Subject: [PATCH] start work on proxy connector screen git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237693 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/webapp/js/archiva/proxy-connectors.js | 18 +++++++----------- .../js/archiva/templates/proxy-connectors.html | 4 +--- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js index 1ed843822..6a2660e08 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js @@ -64,34 +64,30 @@ $(function() { //sourceRepoId for(i=0;i0){ - $.log("sourceRepo!=null:"+sourceRepo[0]); sourceRepo[0].targetRepos.push(curTarget); } else { $.log("sourceRepo==null:"+curSrcRepo); sourcesRepos.push({source:curSrcRepo,targetRepos:[curTarget]}); + if (sourceRepo!=null){ + $.log("sourceRepoId:"+curSrcRepo); + sourcesRepos.push({source:curSrcRepo,targetRepos:[curTarget]}); + } else { + sourceRepo.targetRepos.push(curTarget); } } - - $.log("sourcesRepo.length:"+sourcesRepos.length); - for(i=0;i

${$.i18n.prop('proxy-connectors.list')}

-
-
- \ No newline at end of file -- 2.39.5