From ea9dd199aa231f9a53419a28d9aa682c4f2cc355 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Thu, 20 Jun 2013 14:49:56 +0200 Subject: [PATCH] Fixed file upload system. --- js/h5p.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/h5p.js b/js/h5p.js index 7888ae4..4df6f3d 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -101,6 +101,9 @@ H5P.fullScreen = function ($el, obj) { } }; +/** + * Find the path to the content files base on the id of the content. + */ H5P.getContentPath = function(contentId) { // TODO: Rewrite or remove... H5P.getContentPath = H5PIntegration.getContentPath would probably work f.i. return H5PIntegration.getContentPath(contentId);