Enable conference registration
Change-Id: I5e973513d78c63a48e62ff1aa3a5d9a1621f4a4d
diff --git a/static/main.js b/static/main.js
index a07eb52..277b4ef 100644
--- a/static/main.js
+++ b/static/main.js
@@ -2,7 +2,7 @@
(function () {
'use strict';
window.addEventListener('load', function () {
- update_total_costs();
+ update_total_due();
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.getElementsByClassName('needs-validation');
// Loop over them and prevent submission
@@ -18,7 +18,7 @@
}, false);
})();
-function update_total_costs() {
+function update_total_due() {
var costs = 0;
@@ -31,7 +31,7 @@
costs += parseInt($("#conference_dinner_price").text(), 10);
}
}
- $("#total_costs").val(costs.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}));
+ $("#total_due").val(costs.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}));
}
function update_paper_id_field() {