From e79c008bafd71c233db74a55489ecc63662abc69 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 23 Mar 2012 14:15:58 +0000 Subject: [PATCH] fix code duplication git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304361 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/search.js | 66 +++++++------------ 1 file changed, 25 insertions(+), 41 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js index 1632acd12..8dc383f42 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js @@ -779,26 +779,7 @@ $(function() { this.version=version; this.crumbEntries=function(){ - var splitted = self.groupId.split("."); - var breadCrumbEntries=[]; - var curGroupId=""; - for (var i=0;i