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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js (-3 / +5 lines)
Lines 41-47 $(document).ready(function() { Link Here
41
        }
41
        }
42
    });
42
    });
43
43
44
    // Handle renewals
44
    // Handle renewals and returns
45
    $("#RenewCheckinChecked").on("click",function(){
45
    $("#RenewCheckinChecked").on("click",function(){
46
        $(".checkin:checked:visible").each(function() {
46
        $(".checkin:checked:visible").each(function() {
47
            itemnumber = $(this).val();
47
            itemnumber = $(this).val();
Lines 74-80 $(document).ready(function() { Link Here
74
74
75
            var itemnumber = $(this).val();
75
            var itemnumber = $(this).val();
76
76
77
            $(this).replaceWith("<img id='renew_" + itemnumber + "' src='" + interface + "/" + theme + "/img/loading-small.gif' />");
77
            $(this).parent().parent().replaceWith("<img id='renew_" + itemnumber + "' src='" + interface + "/" + theme + "/img/loading-small.gif' />");
78
78
79
            var params = {
79
            var params = {
80
                itemnumber:     itemnumber,
80
                itemnumber:     itemnumber,
Lines 214-219 $(document).ready(function() { Link Here
214
                    var span_style = "";
214
                    var span_style = "";
215
                    var span_class = "";
215
                    var span_class = "";
216
216
217
                    content += "<span>";
217
                    content += "<span style='padding: 0 1em;'>" + oObj.renewals_count + "</span>";
218
                    content += "<span style='padding: 0 1em;'>" + oObj.renewals_count + "</span>";
218
219
219
                    if ( oObj.can_renew ) {
220
                    if ( oObj.can_renew ) {
Lines 253-258 $(document).ready(function() { Link Here
253
                                + RENEWALS_REMAINING + ")</span>";
254
                                + RENEWALS_REMAINING + ")</span>";
254
                    }
255
                    }
255
256
257
                    content += "</span>";
258
256
259
257
                    return content;
260
                    return content;
258
                }
261
                }
259
- 

Return to bug 11703