Browse Source

Merge pull request #141 from bcgov/page-updates

DIV-1209: Save filing to In-person if the user was married outside of Canada
pull/172/head
Arianne 5 years ago
committed by GitHub
parent
commit
66a9f14f0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      edivorce/apps/core/static/js/signing-filing.js

+ 8
- 4
edivorce/apps/core/static/js/signing-filing.js View File

@ -90,15 +90,19 @@ $(window).load(function () {
if ($("input:radio[name='how_to_sign']:checked").length === 0) { if ($("input:radio[name='how_to_sign']:checked").length === 0) {
$("#sign-together").prop('checked', true).trigger('change'); $("#sign-together").prop('checked', true).trigger('change');
} }
if ($("input:radio[name='how_to_file']:checked").length === 0) {
if ($("input:radio[name='how_to_file']").length === 0) {
ajaxCall('how_to_file', 'In-person');
} else if ($("input:radio[name='how_to_file']:checked").length === 0) {
$("#file-online").prop('checked', true).trigger('change'); $("#file-online").prop('checked', true).trigger('change');
} }
} }
setDefaults() setDefaults()
toggleSigningLocation();
toggleSignVirtually();
toggleFileInPerson();
if ($("input:radio[name='how_to_file']").length > 0) {
toggleSigningLocation();
toggleSignVirtually();
toggleFileInPerson();
}
$('#check-email-filled').on('click', function (e) { $('#check-email-filled').on('click', function (e) {
var yourEmailInput = $('#email-you-input'); var yourEmailInput = $('#email-you-input');


Loading…
Cancel
Save