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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-5 lines)
Lines 1376-1386 Link Here
1376
            });
1376
            });
1377
1377
1378
            $("#order_edit").on("hide.bs.modal", function() {
1378
            $("#order_edit").on("hide.bs.modal", function() {
1379
            [% IF only_one_order %] [%# On the single case, dismissing the modal equals to cancelling %]
1380
                location.href = "/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | html %]&sticky_filters=1";
1381
            [% ELSE %]
1382
                $("#child_orders_table").DataTable().off('preDraw').destroy();
1379
                $("#child_orders_table").DataTable().off('preDraw').destroy();
1383
            [% END %]
1384
            });
1380
            });
1385
        });
1381
        });
1386
    </script>
1382
    </script>
1387
- 

Return to bug 34036