From a31fe1d853cbdb31c15bee69b00fec5a3158783e Mon Sep 17 00:00:00 2001 From: Ken Holstein Date: Tue, 4 Jul 2017 23:01:30 -0400 Subject: [PATCH] ignore "done" for student_doing_well --- .../Student_Doing_Well/student_doing_well__moving_average.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js b/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js index fe91c23..4097c70 100644 --- a/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js +++ b/HTML/Assets/Detectors/Lumilo/Student_Doing_Well/student_doing_well__moving_average.js @@ -77,7 +77,7 @@ function receive_transaction( e ){ //set conditions under which detector should update //external state and history - if(e.data.actor == 'student' && isFirstAttempt == true && e.data.tool_data.action != "UpdateVariable"){ + if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && isFirstAttempt == true && e.data.tool_data.action != "UpdateVariable"){ detector_output.time = new Date(); detector_output.transaction_id = e.data.transaction_id;