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