Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
MOBILE-976 contents: Retrieve only sections information in Moodle 2.9…
Browse files Browse the repository at this point in the history
… and onwards
  • Loading branch information
jleyva committed Apr 30, 2015
1 parent e08fbaa commit 0294885
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/contents/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0294885

Please sign in to comment.