Merge pull request #2619 from dpalou/MOBILE-3523
MOBILE-3523 quiz: Fix download ddmarker files
This commit is contained in:
		
						commit
						241dbdada1
					
				| @ -124,7 +124,7 @@ export class AddonQtypeDdMarkerHandler implements CoreQuestionHandler { | ||||
|     getAdditionalDownloadableFiles(question: any, usageId: number): string[] { | ||||
|         this.questionHelper.extractQuestionScripts(question, usageId); | ||||
| 
 | ||||
|         if (question.amdArgs && typeof question.amdArgs[1] !== 'undefined') { | ||||
|         if (question.amdArgs && typeof question.amdArgs[1] == 'string') { | ||||
|             // Moodle 3.6+.
 | ||||
|             return [question.amdArgs[1]]; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user