From 1c3f7ba52f18069a7af2d066a1f81d7737a9cd53 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 7 Aug 2012 21:22:03 +0000 Subject: [PATCH] add a route to display artifact detail for a repository git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370529 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/main.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index 84294fd68..2fd7a2adc 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -222,6 +222,15 @@ function() { var version= this.params.version; generalDisplayArtifactDetailsVersionView(groupId,artifactId,version,repositoryId); + }); + this.get('#artifact~:repositoryId/:groupId/:artifactId/:version',function(context){ + + var repositoryId = this.params.repositoryId; + var groupId= this.params.groupId; + var artifactId= this.params.artifactId; + var version= this.params.version; + generalDisplayArtifactDetailsVersionView(groupId,artifactId,version,repositoryId); + }); this.get('#browse/:groupId',function(context){ var groupId = this.params.groupId; -- 2.39.5