Merge pull request #1535 from albertgasset/MOBILE-2585
MOBILE-2585 course: Fix prefetch of course option handlersmain
commit
1b64d83da5
|
@ -277,7 +277,7 @@ export class CoreCourseOptionsDelegate extends CoreDelegate {
|
|||
handlersToDisplay.push({
|
||||
data: data,
|
||||
priority: handler.priority,
|
||||
prefetch: handler.prefetch
|
||||
prefetch: handler.prefetch && handler.prefetch.bind(handler)
|
||||
});
|
||||
}).catch((err) => {
|
||||
this.logger.error('Error getting data for handler', handler.name, err);
|
||||
|
|
Loading…
Reference in New Issue