Widget:UserExamQuery: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
timeBegin = new Date(value.begin * 1000).toString(); | timeBegin = new Date(value.begin * 1000).toString(); | ||
} | } | ||
if(value.end | if(value.end != null){ | ||
timeEnd = new Date (value.end * 1000).toString(); | timeEnd = new Date (value.end * 1000).toString(); | ||
scoreString = value.score + "%"; | scoreString = value.score + "%"; | ||
Line 44: | Line 44: | ||
outstring += "</ul>"; | outstring += "</ul>"; | ||
$("#metrics").append(outstring); | $("#metrics").append(outstring); | ||
}); | }); | ||
}); | }); |