diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 72c1140b60..0681c355b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -1376,11 +1376,7 @@ }); $("#order_edit").on("hide.bs.modal", function() { - [% IF only_one_order %] [%# On the single case, dismissing the modal equals to cancelling %] - location.href = "/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | html %]&sticky_filters=1"; - [% ELSE %] $("#child_orders_table").DataTable().off('preDraw').destroy(); - [% END %] }); });