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 1350-1360 Link Here
1350
            });
1350
            });
1351
1351
1352
            $("#order_edit").on("hide.bs.modal", function() {
1352
            $("#order_edit").on("hide.bs.modal", function() {
1353
            [% IF only_one_order %] [%# On the single case, dismissing the modal equals to cancelling %]
1354
                location.href = "/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | html %]&sticky_filters=1";
1355
            [% ELSE %]
1356
                $("#child_orders_table").DataTable().off('preDraw').destroy();
1353
                $("#child_orders_table").DataTable().off('preDraw').destroy();
1357
            [% END %]
1358
            });
1354
            });
1359
        });
1355
        });
1360
    </script>
1356
    </script>
1361
- 

Return to bug 34036