diff --git a/edivorce/apps/core/static/js/ajax.js b/edivorce/apps/core/static/js/ajax.js index dedfed6f..f6864bf5 100644 --- a/edivorce/apps/core/static/js/ajax.js +++ b/edivorce/apps/core/static/js/ajax.js @@ -55,7 +55,6 @@ var ajaxCall = function(question, value){ // add CSRF_TOKEN to POST var csrf_token = getCSRFToken(); - // TODO more useful callback functions for done and fail $.ajax(url, { type: 'POST', @@ -65,12 +64,6 @@ var ajaxCall = function(question, value){ } }, data: {question: question, value: value} - }) - .done(function () { - console.log("Successful"); - }) - .fail(function (xhr) { - console.log(xhr); }); }; diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js index 2bda0511..31d0d8dc 100644 --- a/edivorce/apps/core/static/js/functions.js +++ b/edivorce/apps/core/static/js/functions.js @@ -123,7 +123,6 @@ var getValue = function(el, question){ } // for adding reconciliation_period fields, create list of [sFromDate, sToDate] and // check if sFromDate is earlier than sToDate - // TODO clean up console.log else if (question == "reconciliation_period"){ var sToDate, sFromDate, dToDate, dFromDate; var hideAlert = true; @@ -158,10 +157,6 @@ var getValue = function(el, question){ .append('Negative Date Range'); } } - else { - console.log("Invalid: " + sFromDate + " : " + sToDate); - console.log("invalid date format"); - } }); return JSON.stringify(value); } diff --git a/edivorce/apps/core/templates/question/01_orders.html b/edivorce/apps/core/templates/question/01_orders.html index 464e87c1..5d8288fc 100644 --- a/edivorce/apps/core/templates/question/01_orders.html +++ b/edivorce/apps/core/templates/question/01_orders.html @@ -73,10 +73,11 @@
@@ -86,6 +87,15 @@Anything you own including real estate, bank accounts, cars and RRSPs. For more information, please refer to the Dealing with Debts After Separation fact sheet on the Family Law in B.C. website.
+ +