Commit 7cdbdf5b authored by Myriam Guedey's avatar Myriam Guedey
Browse files

Update citationSheetParse.js

parent 403e5c0e
Pipeline #8622 passed with stage
in 16 seconds
...@@ -161,11 +161,11 @@ xmlHttpRequest.onload = function (e) { ...@@ -161,11 +161,11 @@ xmlHttpRequest.onload = function (e) {
if ( i == jsonOutput.length - 1) { if ( i == jsonOutput.length - 1) {
console.log("Add the paper ....") console.log("Add the paper ....")
// Start loading/adding the paper content to the page here ..... // Start loading/adding the paper content to the page here .....
for (var j = 0; j < 6; j++) { for (var j = 0; j < 3; j++) {
addpaper(jsonContent[j]); addpaper(jsonContent[j]);
//Do something //Do something
} }
document.getElementById("papercount").innerHTML = "1 - 6" + " (" + jsonContent.length + ")"; document.getElementById("papercount").innerHTML = "1 - 3" + " (" + jsonContent.length + ")";
} }
} }
//console.log(jsonContent); //console.log(jsonContent);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment