Commit 34803df0 by Muhammad Shoaib

PHX-121

fixed the bug when clicking outside of the active exam page, don't redirect to the exam page
parent 34e36031
......@@ -85,12 +85,12 @@ var edx = edx || {};
action: 'stop'
},
success: function() {
// Reloading page will reflect the new state of the attempt
location.reload();
// change the location of the page to the active exam page
// which will reflect the new state of the attempt
location.href = self.model.get('exam_url_path');
}
});
});
//$('.proctored-exam-action-stop').css('cursor', 'pointer');
}
}
return this;
......
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