Skip to content

Commit

Permalink
PROD-1613
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-D-Akbar committed Sep 1, 2020
1 parent e65874c commit 893a01f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lms/templates/ccx/coach_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ <h2 class="hd hd-2" id="header-ccx-dashboard">${_("CCX Coach Dashboard")}</h2>
studentId = $('<input />', {
type: 'hidden',
name: 'student-id',
value: selectedStudent
value: edx.HtmlUtils.ensureHtml(selectedStudent)
});
// xss-lint: disable=javascript-jquery-append
form.append(action, studentId).submit();
}
});
Expand All @@ -153,7 +154,7 @@ <h2 class="hd hd-2" id="header-ccx-dashboard">${_("CCX Coach Dashboard")}</h2>
$errorMessage.show();
return false;
} else if (hasCcxConnector) {
$errorMessage.html('${use_ccx_con_error_message | n, js_escaped_string}');
$errorMessage.text('${use_ccx_con_error_message | n, js_escaped_string}');
$errorMessage.show();
return false;
}
Expand Down

0 comments on commit 893a01f

Please sign in to comment.