From 000a97ffabe1be8d38f3b34c2da2557a86f48cd0 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 17 Feb 2012 22:50:51 +0000 Subject: [PATCH] fix var init to prevent undefined string value git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245790 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/search.js | 7 +------ 1 file changed, 1 insertion(+), 6 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 e76c99a54..b0fcc066a 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 @@ -29,8 +29,6 @@ $(function() { this.groupId=groupId; displayGroupId=function(groupId){ displayGroupDetail(groupId,self); - $.log("called displayGroupDetail groupId:"+groupId - +",parentBrowseViewModel.groupId:"+(parentBrowseViewModel?parentBrowseViewModel.groupId:"null")); } displayParentGroupId=function(){ $.log("called displayParentGroupId groupId:"+self.parentBrowseViewModel.groupId); @@ -45,10 +43,9 @@ $(function() { breadCrumbEntries=function(){ // root level ? if (!self.parentBrowseViewModel) return []; - var splitted = self.groupId.split("."); var breadCrumbEntries=[]; - var curGroupId; + var curGroupId=""; for (var i=0;i