Commit b0513658 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/citationSheetParse.js

Showing with 5 additions and 0 deletions
+5 -0
...@@ -65,6 +65,7 @@ xmlHttpRequest.onload = function (e) { ...@@ -65,6 +65,7 @@ xmlHttpRequest.onload = function (e) {
"project":"", "project":"",
"reviewed":"", "reviewed":"",
"open":"" "open":""
"abstract":"" // Add abstract here
}, },
"links": { "links": {
...@@ -137,6 +138,10 @@ xmlHttpRequest.onload = function (e) { ...@@ -137,6 +138,10 @@ xmlHttpRequest.onload = function (e) {
item["links"].url = jsonOutput[i].URL ? jsonOutput[i].URL : "" item["links"].url = jsonOutput[i].URL ? jsonOutput[i].URL : ""
item["links"].demo = jsonOutput[i].Demo ? jsonOutput[i].Demo : "" item["links"].demo = jsonOutput[i].Demo ? jsonOutput[i].Demo : ""
// add abstract to the item object
var abstract =jsonOutput[i].abstract ? jsonOutput[i].abstract : "";
item["item"].abstract=abstract ;
var month = ""; var month = "";
if (jsonOutput[i].Date != undefined){ if (jsonOutput[i].Date != undefined){
......
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