jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject svn commit: r1551566 - /jena/site/trunk/content/js/breadcrumbs.js
Date Tue, 17 Dec 2013 15:13:37 GMT
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



Mime
View raw message