From 83139afe2bbb9f47c4d5f88a1e1ed91a3a6e25b8 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sat, 22 Feb 2014 11:45:14 +0000 Subject: [PATCH] update old legacy path code for new version of Struts git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1570823 13f79535-47bb-0310-9956-ffa450edef68 --- .../jsp/admin/addLegacyArtifactPath.jsp | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp index 3103403b0..d93a193f4 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp @@ -42,13 +42,13 @@ var group = path.indexOf( "/" ); if ( group > 0 ) { - document.getElementById( "addLegacyArtifactPath_groupId" ).value + document.getElementById( "addLegacyArtifactPath_commit_groupId" ).value = path.substring( 0, group ); group += 1; var type = path.indexOf( "/", group ); if ( type > 0 ) { - document.getElementById( "addLegacyArtifactPath_type" ).value + document.getElementById( "addLegacyArtifactPath_commit_type" ).value = path.substring( group, type - 1 ); } type += 1; @@ -56,9 +56,9 @@ var ext = path.lastIndexOf( "." ); if ( version > 0 ) { - document.getElementById( "addLegacyArtifactPath_artifactId" ).value + document.getElementById( "addLegacyArtifactPath_commit_artifactId" ).value = path.substring( type, version ); - document.getElementById( "addLegacyArtifactPath_version" ).value + document.getElementById( "addLegacyArtifactPath_commit_version" ).value = path.substring( version + 1, ext ); } @@ -92,23 +92,6 @@ - -