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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-6 lines)
Lines 44-50 Link Here
44
function Dopop(link) {
44
function Dopop(link) {
45
    var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
45
    var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
46
    $("#barcode").focus();
46
    $("#barcode").focus();
47
    $(".btn btn-default approve").onClickConfirm();
48
}
47
}
49
$(document).ready(function () {
48
$(document).ready(function () {
50
    $(".modal").modal({ backdrop: 'static' }).on('shown', function() {
49
    $(".modal").modal({ backdrop: 'static' }).on('shown', function() {
Lines 56-65 $(document).ready(function () { Link Here
56
    [% IF print_slip %]
55
    [% IF print_slip %]
57
        Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
56
        Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
58
    [% END %]
57
    [% END %]
59
    [% IF confirm %]
60
        $(".modal").modal().off;
61
    [% END %]
62
63
58
64
    var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
59
    var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
65
    var returns_table = KohaTable("#checkedintable", {
60
    var returns_table = KohaTable("#checkedintable", {
66
- 

Return to bug 18438