add logging to gradebook bulk update
This commit is contained in:
@@ -20,8 +20,8 @@ define([
|
||||
],
|
||||
function($, CertificatesCollection, Certificate, CertificatesPage, CertificatePreview) {
|
||||
'use strict';
|
||||
return function(certificatesJson, certificateUrl, courseOutlineUrl, course_modes, certificate_web_view_url,
|
||||
is_active, certificate_activation_handler_url) {
|
||||
return function(certificatesJson, certificateUrl, courseOutlineUrl, courseModes, certificateWebViewUrl,
|
||||
isActive, certificateActivationHandlerUrl) {
|
||||
// Initialize the model collection, passing any necessary options to the constructor
|
||||
var certificatesCollection = new CertificatesCollection(certificatesJson, {
|
||||
parse: true,
|
||||
@@ -31,12 +31,12 @@ function($, CertificatesCollection, Certificate, CertificatesPage, CertificatePr
|
||||
|
||||
// associating the certificate_preview globally.
|
||||
// need to show / hide this view in some other places.
|
||||
if (!window.certWebPreview && certificate_web_view_url) {
|
||||
if (!window.certWebPreview && certificateWebViewUrl) {
|
||||
window.certWebPreview = new CertificatePreview({
|
||||
course_modes: course_modes,
|
||||
certificate_web_view_url: certificate_web_view_url,
|
||||
certificate_activation_handler_url: certificate_activation_handler_url,
|
||||
is_active: is_active
|
||||
course_modes: courseModes,
|
||||
certificate_web_view_url: certificateWebViewUrl,
|
||||
certificate_activation_handler_url: certificateActivationHandlerUrl,
|
||||
is_active: isActive
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user