Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
fbe5cafd
Commit
fbe5cafd
authored
Sep 11, 2013
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #936 from edx/renzo/instrument-verified-cert-flow
Renzo/instrument verified cert flow
parents
57192c8a
9fd4f69e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
lms/static/js/verify_student/photocapture.js
+8
-1
No files found.
lms/static/js/verify_student/photocapture.js
View file @
fbe5cafd
...
...
@@ -199,7 +199,11 @@ function objectTagForFlashCamera(name) {
$
(
document
).
ready
(
function
()
{
$
(
".carousel-nav"
).
addClass
(
'sr'
);
$
(
"#pay_button"
).
click
(
submitToPaymentProcessing
);
$
(
"#pay_button"
).
click
(
function
(){
analytics
.
pageview
(
"Payment Form"
);
submitToPaymentProcessing
();
});
// prevent browsers from keeping this button checked
$
(
"#confirm_pics_good"
).
prop
(
"checked"
,
false
)
$
(
"#confirm_pics_good"
).
change
(
function
()
{
...
...
@@ -210,10 +214,12 @@ $(document).ready(function() {
// add in handlers to add/remove the correct classes to the body
// when moving between steps
$
(
'#face_next_link'
).
click
(
function
(){
analytics
.
pageview
(
"Capture ID Photo"
);
$
(
'body'
).
addClass
(
'step-photos-id'
).
removeClass
(
'step-photos-cam'
)
})
$
(
'#photo_id_next_link'
).
click
(
function
(){
analytics
.
pageview
(
"Review Photos"
);
$
(
'body'
).
addClass
(
'step-review'
).
removeClass
(
'step-photos-id'
)
})
...
...
@@ -229,6 +235,7 @@ $(document).ready(function() {
$
(
"#photo_id_capture_div"
).
html
(
objectTagForFlashCamera
(
"photo_id_flash"
));
}
analytics
.
pageview
(
"Capture Face Photo"
);
initSnapshotHandler
([
"photo_id"
,
"face"
],
hasHtml5CameraSupport
);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment