add logging to gradebook bulk update

This commit is contained in:
Zach Hancock
2018-12-20 14:50:29 -05:00
parent 04474d330f
commit a93fe4d833
2 changed files with 37 additions and 8 deletions

View File

@@ -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
});
}