This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1283,6 +1283,7 @@ export default class Parsons extends RunestoneBase {
12831283 this . grade = this . grader . grade ( ) ;
12841284 if ( this . grade == "correct" ) {
12851285 this . hasSolved = true ;
1286+ this . correct = true ;
12861287 localStorage . setItem ( this . adaptiveId + "Solved" , true ) ;
12871288 this . recentAttempts = this . checkCount ;
12881289 this . checkCount = 0 ;
@@ -2062,6 +2063,7 @@ export default class Parsons extends RunestoneBase {
20622063 async disableInteraction ( ) {
20632064 // Disable blocks
20642065 await this . checkServerComplete ;
2066+ console . log ( "disabling blocks" ) ;
20652067 if ( this . blocks !== undefined ) {
20662068 for ( var i = 0 ; i < this . blocks . length ; i ++ ) {
20672069 var block = this . blocks [ i ] ;
Original file line number Diff line number Diff line change @@ -826,6 +826,7 @@ export default class Timed extends RunestoneBase {
826826 let currentQuestion = this . renderedQuestionArray [ i ] ;
827827 // set the state to forreview so we know that feedback may be appropriate
828828 currentQuestion . state = "forreview" ;
829+ currentQuestion . question . disableInteraction ( ) ;
829830 }
830831
831832 if ( ! this . showFeedback ) {
You can’t perform that action at this time.
0 commit comments