Lines 16-22
function enableCheckboxActions(){
Link Here
|
16 |
$(document).ready(function(){ |
16 |
$(document).ready(function(){ |
17 |
$('#pay-fines-form').preventDoubleFormSubmit(); |
17 |
$('#pay-fines-form').preventDoubleFormSubmit(); |
18 |
$("#woall").click(function(event){ |
18 |
$("#woall").click(function(event){ |
19 |
var answer = confirm(_("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!")); |
19 |
var msg = _("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!"); |
|
|
20 |
var answer = "confirm(msg); |
20 |
if (!answer){ |
21 |
if (!answer){ |
21 |
event.preventDefault(); |
22 |
event.preventDefault(); |
22 |
} |
23 |
} |
23 |
- |
|
|