View | Details | Raw Unified | Return to bug 11488
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-2 / +3 lines)
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 %s in outstanding fines? This cannot be undone!");
20
            msg = msg.replace( "%s", "[% total | format('%.2f') %]" );
21
            var answer = confirm(msg);
20
                if (!answer){
22
                if (!answer){
21
                    event.preventDefault();
23
                    event.preventDefault();
22
                }
24
                }
23
- 

Return to bug 11488