Skip to content

Commit

Permalink
ignore "done" for student_doing_well
Browse files Browse the repository at this point in the history
  • Loading branch information
d19fe8 committed Jul 5, 2017
1 parent 46f1759 commit a31fe1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a31fe1d

Please sign in to comment.