Skip to content
Snippets Groups Projects
Commit 87c16682 authored by Martin Staehr's avatar Martin Staehr
Browse files

#77 fix annotation and seefeedback

parent 98763ed3
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,10 @@ function getContributionFeedback(fullSubmissionId, fullSubmissionPartCategory, g
type: "GET",
dataType: "json",
success: function (response) {
response.text = JSON.parse(response.text);
responseHandler(response);
if (response) {
response.text = JSON.parse(response.text);
responseHandler(response);
}
}
});
}
......
......@@ -217,7 +217,11 @@ function fitObjectInTmpl(object) {
break;
case "ANNOTATE_DOSSIER":
result.solveTaskWith = "Annotiere das Dossier";
result.solveTaskWithLink = "redirect(\'../annotation/create-unstructured-annotation.jsp?projectName=" + object.projectName + "&submissionId=" + object.taskData.fullSubmissionId + "\')";
result.solveTaskWithLink = "redirect(\'../annotation/create-unstructured-annotation.jsp?" + $.param({
projectName: object.projectName,
submissionId: object.taskData.fullSubmissionId,
contributionCategory: "Dossier"
}) + "\')";
break;
case "FINALIZE_DOSSIER":
result.solveTaskWith = "Finalisiere das Dossier";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment