This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -46,5 +46,8 @@ TimedFITB.prototype.hideFeedback = function () {
4646} ;
4747
4848TimedFITB . prototype . processTimedSubmission = function ( ) {
49+ for ( var i = 0 ; i < this . blankArray . length ; i ++ ) {
50+ this . blankArray [ i ] . disabled = true ;
51+ }
4952 this . checkFITBStorage ( ) ;
5053} ;
Original file line number Diff line number Diff line change @@ -134,6 +134,9 @@ TimedMC.prototype.hideFeedback = function () {
134134} ;
135135
136136TimedMC . prototype . processTimedSubmission = function ( ) {
137+ for ( var i = 0 ; i < this . optionArray . length ; i ++ ) {
138+ this . optionArray [ i ] [ "input" ] . disabled = true ;
139+ }
137140 if ( this . multipleanswers ) {
138141 this . processMCMASubmission ( ) ;
139142 } else {
Original file line number Diff line number Diff line change 2323def setup (app ):
2424 app .add_directive ('clickablearea' ,ClickableArea )
2525 app .add_javascript ('clickable.js' )
26+ app .add_javascript ('timedclickable.js' )
2627 app .add_stylesheet ('clickable.css' )
2728
2829 app .add_node (ClickableAreaNode , html = (visit_ca_node , depart_ca_node ))
Original file line number Diff line number Diff line change 2323def setup (app ):
2424 app .add_directive ('dragndrop' ,DragNDrop )
2525 app .add_javascript ('dragndrop.js' )
26+ app .add_javascript ('timeddnd.js' )
2627 app .add_stylesheet ('dragndrop.css' )
2728
2829 app .add_node (DragNDropNode , html = (visit_dnd_node , depart_dnd_node ))
You can’t perform that action at this time.
0 commit comments