Commit 06eae925 by chrisndodge

Merge pull request #71 from edx/cdodge/stop-software-secure-states

stop software secure on more status codes
parents bb218861 4672e6dc
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
$.ajax(url).success(function(data){ $.ajax(url).success(function(data){
// has the end user completed and submitted the exam in the LMS?!? // has the end user completed and submitted the exam in the LMS?!?
if (data.status === 'submitted') { if (data.status === 'submitted' || data.status === 'error' || data.status === 'verified' || data.status === 'rejected') {
// Signal that the desktop software should terminate // Signal that the desktop software should terminate
// NOTE: This is per the API documentation from SoftwareSecure // NOTE: This is per the API documentation from SoftwareSecure
window.external.quitApplication(); window.external.quitApplication();
......
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