diff --git a/plugins/contents/main.js b/plugins/contents/main.js index 22456f7c9..1b06b687e 100644 --- a/plugins/contents/main.js +++ b/plugins/contents/main.js @@ -41,7 +41,9 @@ define(templates,function (sectionsTpl, contentsTpl, folderTpl, mimeTypes) { $('a[href="#course/contents/' +courseId+ '"]').addClass('loading-row'); var data = { - 'courseid': courseId + 'courseid': courseId, + 'options[0][name]': 'excludecontents', + 'options[0][value]': true }; MM.moodleWSCall('core_course_get_contents', data, function(contents) {