target = target || root.find(SELECTORS.CALENDAR_MONTH_WRAPPER);
+ M.util.js_pending([root.get('id'), year, month, courseid].join('-'));
var includenavigation = root.data('includenavigation');
return CalendarRepository.getCalendarMonthData(year, month, courseid, includenavigation)
.then(function(context) {
return;
})
.always(function() {
+ M.util.js_complete([root.get('id'), year, month, courseid].join('-'));
return stopLoading(root);
})
.fail(Notification.exception);