Эх сурвалжийг харах

Allow export Matching Dragable questions - refs #7611

Angel Fernando Quiroz Campos 10 жил өмнө
parent
commit
4ed3f9e330

+ 2 - 0
main/exercice/export/qti2/qti2_classes.php

@@ -32,6 +32,8 @@ class Ims2Question extends Question
 
                 return $answer;
             case MATCHING:
+                //no break
+            case MATCHING_DRAGGABLE:
                 $answer = new ImsAnswerMatching($this->id);
 
                 return $answer;

+ 2 - 0
main/exercice/export/scorm/scorm_classes.php

@@ -43,6 +43,8 @@ class ScormQuestion extends Question
                 $this->answer->questionJSId = $this->js_id;
 				break;
 			case MATCHING :
+                            //no break
+                        case MATCHING_DRAGGABLE:
 				$this->answer = new ScormAnswerMatching($this->id);
                 $this->answer->questionJSId = $this->js_id;
 				break;