From ce0bc8f8dd7fa7dabb20391ec23d729c61e4631d Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 31 Mar 2014 13:44:15 -0400 Subject: [PATCH] Added comment to getUserMedia call in photocapture.js --- lms/static/js/verify_student/photocapture.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lms/static/js/verify_student/photocapture.js b/lms/static/js/verify_student/photocapture.js index f8c89ae0db..3be1e57b16 100644 --- a/lms/static/js/verify_student/photocapture.js +++ b/lms/static/js/verify_student/photocapture.js @@ -217,6 +217,9 @@ function initSnapshotHandler(names, hasHtml5CameraSupport) { // We do this in a recursive call on success because Firefox seems to // simply eat the request if you stack up two on top of each other before // the user has a chance to approve the first one. + // + // This appears to be necessary for older versions of Firefox (before 28). + // For more info, see https://github.com/edx/edx-platform/pull/3053 initSnapshotHandler(names, hasHtml5CameraSupport); }, onVideoFail); }