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 36-42 Link Here
36
function Dopop(link) {
36
function Dopop(link) {
37
    var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
37
    var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
38
    $("#barcode").focus();
38
    $("#barcode").focus();
39
    $(".btn btn-default approve").onClickConfirm();
40
}
39
}
41
$(document).ready(function () {
40
$(document).ready(function () {
42
    $(".modal").modal({ backdrop: 'static' }).on('shown', function() {
41
    $(".modal").modal({ backdrop: 'static' }).on('shown', function() {
Lines 48-57 $(document).ready(function () { Link Here
48
    [% IF print_slip %]
47
    [% IF print_slip %]
49
        Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
48
        Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
50
    [% END %]
49
    [% END %]
51
    [% IF confirm %]
52
        $(".modal").modal().off;
53
    [% END %]
54
55
50
56
    var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
51
    var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
57
    var returns_table = KohaTable("#checkedintable", {
52
    var returns_table = KohaTable("#checkedintable", {
58
- 

Return to bug 18438