You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2013/12/17 16:13:37 UTC

svn commit: r1551566 - /jena/site/trunk/content/js/breadcrumbs.js

Author: rvesse
Date: Tue Dec 17 15:13:37 2013
New Revision: 1551566

URL: http://svn.apache.org/r1551566
Log:
Modify breadcrumbs.js to strip off querystring if present

Modified:
    jena/site/trunk/content/js/breadcrumbs.js

Modified: jena/site/trunk/content/js/breadcrumbs.js
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/js/breadcrumbs.js?rev=1551566&r1=1551565&r2=1551566&view=diff
==============================================================================
--- jena/site/trunk/content/js/breadcrumbs.js (original)
+++ jena/site/trunk/content/js/breadcrumbs.js Tue Dec 17 15:13:37 2013
@@ -21,6 +21,7 @@ $(document).ready(function() {
 	
 		for (var index = 0; index < crumbs.length; ++index) {
 			var crumb = crumbs[index];
+                       if (crumb.indexOf('?') > -1) crumb = crumb.substring(0, crumb.indexOf('?'));
 			link += crumb + '/';
 
 			//Check if it is the last element of the array