diff --git a/cms/envs/acceptance.py b/cms/envs/acceptance.py index 3b89e2e988..6c32592589 100644 --- a/cms/envs/acceptance.py +++ b/cms/envs/acceptance.py @@ -86,3 +86,10 @@ INSTALLED_APPS += ('lettuce.django',) LETTUCE_APPS = ('contentstore',) LETTUCE_SERVER_PORT = choice(PORTS) if SAUCE.get('SAUCE_ENABLED') else randint(1024, 65535) LETTUCE_BROWSER = os.environ.get('LETTUCE_BROWSER', 'chrome') + +##################################################################### +# Lastly, see if the developer has any local overrides. +try: + from .private import * # pylint: disable=F0401 +except ImportError: + pass diff --git a/lms/envs/acceptance.py b/lms/envs/acceptance.py index f4c86b4f00..ef07ee8968 100644 --- a/lms/envs/acceptance.py +++ b/lms/envs/acceptance.py @@ -120,3 +120,10 @@ INSTALLED_APPS += ('lettuce.django',) LETTUCE_APPS = ('courseware',) LETTUCE_SERVER_PORT = choice(PORTS) if SAUCE.get('SAUCE_ENABLED') else randint(1024, 65535) LETTUCE_BROWSER = os.environ.get('LETTUCE_BROWSER', 'chrome') + +##################################################################### +# Lastly, see if the developer has any local overrides. +try: + from .private import * # pylint: disable=F0401 +except ImportError: + pass diff --git a/lms/static/js/verify_student/photocapture.js b/lms/static/js/verify_student/photocapture.js index 4bb52ef87a..94fdb5f570 100644 --- a/lms/static/js/verify_student/photocapture.js +++ b/lms/static/js/verify_student/photocapture.js @@ -175,8 +175,17 @@ $(document).ready(function() { $("#confirm_pics_good").change(function() { $("#pay_button").toggleClass('disabled'); }); + - $("#pay_button_frame").addClass('disabled'); + // add in handlers to add/remove the correct classes to the body + // when moving between steps + $('#face_next_button').click(function(){ + $('body').addClass('step-photos-id').removeClass('step-photos-cam') + }) + + $('#photo_id_next_button').click(function(){ + $('body').addClass('step-review').removeClass('step-photos-id') + }) var hasHtml5CameraSupport = initVideoCapture();