From 0d67827314c96e5fbcfc3ca796fd9c0d0e760734 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Tue, 27 Aug 2013 19:35:46 -0400 Subject: [PATCH] Fix simple links in verification flow. --- lms/templates/verify_student/photo_verification.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html index 88ae6bb923..8c0c6603b2 100644 --- a/lms/templates/verify_student/photo_verification.html +++ b/lms/templates/verify_student/photo_verification.html @@ -62,6 +62,9 @@ ctx.drawImage(video[0], 0, 0); image[0].src = canvas[0].toDataURL('image/png'); } + else { + return false; + } video[0].pause(); captureButton.hide(); @@ -126,7 +129,7 @@ $("#pay_button_frame").addClass('disabled'); initVideoCapture(); - initSnapshotHandler(["face", "photo_id"]); + initSnapshotHandler(["photo_id", "face"]); }); @@ -321,7 +324,7 @@ -

Photos don't meet the requirements? Retake the photos.

+

Photos don't meet the requirements? Retake the photos.


@@ -374,8 +377,8 @@
-

More questions? Check out our FAQs.

-

Change your mind? You can always Audit the course for free without verifying.

+

More questions? Check out our FAQs. (not active yet)

+

Change your mind? You can always Audit the course for free without verifying.