Commit 6fc94cdb by Douglas Hall

Fix the addition of the proctored profiling parameter to in-exam polling requests

parent f5bc0241
...@@ -138,7 +138,7 @@ var edx = edx || {}; ...@@ -138,7 +138,7 @@ var edx = edx || {};
self.secondsLeft --; self.secondsLeft --;
if (self.timerTick % 30 === 0){ if (self.timerTick % 30 === 0){
var url = self.model.url + '/' + self.model.get('attempt_id'); var url = self.model.url + '/' + self.model.get('attempt_id');
var queryString = '?sourceid=in_exam&proctored=' + this.model.get('taking_as_proctored'); var queryString = '?sourceid=in_exam&proctored=' + self.model.get('taking_as_proctored');
$.ajax(url + queryString).success(function(data) { $.ajax(url + queryString).success(function(data) {
if (data.status === 'error') { if (data.status === 'error') {
// The proctoring session is in error state // The proctoring session is in error state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment