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 @@ -180,6 +180,7 @@ export default class RunestoneBase {
180180 }
181181 } else {
182182 this . loadData ( { } ) ;
183+ this . csresolver ( "not taken" ) ;
183184 }
184185 } else {
185186 this . checkLocalStorage ( ) ; // just go right to local storage
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export default class Parsons extends RunestoneBase {
9090 this . checkServer ( "parsons" ) ;
9191 } else {
9292 this . checkLocalStorage ( ) ;
93+ this . checkServerComplete = Promise . resolve ( "no server" ) ;
9394 }
9495 this . caption = "Parsons" ;
9596 this . addCaption ( "runestone" ) ;
@@ -661,7 +662,8 @@ export default class Parsons extends RunestoneBase {
661662 this . blocksFromHash ( answerHash ) ,
662663 options
663664 ) ;
664- this . grader . grade ( ) ;
665+ this . grade = this . grader . grade ( ) ;
666+ this . correct = this . grade ;
665667 }
666668 // Start the interface
667669 if ( this . needsReinitialization !== true ) {
@@ -753,7 +755,7 @@ export default class Parsons extends RunestoneBase {
753755 event . adaptive = adaptiveHash ;
754756 act = act + "|" + adaptiveHash ;
755757 }
756- if ( this . answer == "correct" ) {
758+ if ( this . grade == "correct" ) {
757759 act = "correct|" + act ;
758760 event . correct = "T" ;
759761 } else {
You can’t perform that action at this time.
0 commit comments