|
@@ -731,6 +731,7 @@ function full_screen() {
|
|
|
}
|
|
|
|
|
|
function teacherAutoEval (data) {
|
|
|
+ previousContent = data;
|
|
|
$.get(iLMparameters.iLM_PARAM_TeacherAutoEval, function (originalData) {
|
|
|
// Ver arquivo js/util/iassignHelpers.js
|
|
|
var content = ivprogCore.prepareActivityToStudentHelper(data).getOrElse(null);
|
|
@@ -749,7 +750,7 @@ function teacherAutoEval (data) {
|
|
|
if (content.algorithmInIlm != null) {
|
|
|
algorithm_in_ilm = content.algorithmInIlm;
|
|
|
parsePreviousAlgorithm();
|
|
|
- ivprogCore.autoEval(originalData, parent.getEvaluationCallback);
|
|
|
+ ivprogCore.autoEval(originalData, displayGrade);
|
|
|
}
|
|
|
|
|
|
ivprogTextualOrVisual();
|
|
@@ -760,6 +761,10 @@ function teacherAutoEval (data) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+function displayGrade(grade) {
|
|
|
+ alert(grade);
|
|
|
+}
|
|
|
+
|
|
|
function showInvalidData () {
|
|
|
$('.ui.height_100.add_accordion').dimmer({
|
|
|
closable: false
|