forked from EVOgeek/Vmeda.Online
		
	MOBILE-2873 scorm: Fix scorm sync before prefetch
This commit is contained in:
		
							parent
							
								
									24fb3d999c
								
							
						
					
					
						commit
						7f32b2763a
					
				| @ -443,6 +443,8 @@ export class AddonModScormPrefetchHandler extends CoreCourseActivityPrefetchHand | ||||
|             this.syncProvider = this.injector.get(AddonModScormSyncProvider); | ||||
|         } | ||||
| 
 | ||||
|         return this.syncProvider.syncScorm(module.instance, siteId); | ||||
|         return this.scormProvider.getScorm(courseId, module.id, module.url, false, siteId).then((scorm) => { | ||||
|             return this.syncProvider.syncScorm(scorm, siteId); | ||||
|         }); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user