changeset 22:32d1933e0673

trim white space in bibid
author dwinter
date Tue, 14 Apr 2015 16:22:39 +0000
parents 176a21acd008
children 9ed36cacb3b7
files src/main/webapp/imageServer/resources/js/diva4ismi.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/imageServer/resources/js/diva4ismi.js	Mon Apr 13 20:28:30 2015 +0000
+++ b/src/main/webapp/imageServer/resources/js/diva4ismi.js	Tue Apr 14 16:22:39 2015 +0000
@@ -108,7 +108,7 @@
 
 
 function showBibliographyEntryFormatted(bibId,bibInf, bibLoc){
-    var id=encodeURIComponent(bibId);
+    var id=encodeURIComponent(bibId.trim());
     var loc = bibLoc;
     console.debug("setting up bib id="+id+" at loc="+loc);
 	$.ajax({