Skip to content
Snippets Groups Projects
Commit 7cd60a39 authored by Thomas Marstrander's avatar Thomas Marstrander
Browse files

JI-1059 Update library submodule

parent 1caf1158
Branches
Tags
No related merge requests found
Subproject commit 687f886e3d9054b87a9298184f1c2f5ba908d43c
Subproject commit 0b1aadbbcaffc88aaeab71a7ca3509966a6bf57f
......@@ -110,6 +110,11 @@
console.error('Storing xAPI results failed with error message:', data);
}
}).fail(function () {
if (H5P.offlineRequestQueue) {
H5P.offlineRequestQueue.add(H5PIntegration.ajax.xAPIResult, data);
return;
}
// Let H5P iframe know that we want to queue the request for late transmission.
const iframe = getIframe(contentId);
if (!iframe) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment