diff --git a/koha-tmpl/intranet-tmpl/prog/js/form-submit.js b/koha-tmpl/intranet-tmpl/prog/js/form-submit.js index d7b8222cbe..11f4a2a89b 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/form-submit.js +++ b/koha-tmpl/intranet-tmpl/prog/js/form-submit.js @@ -30,6 +30,9 @@ $(document).ready(function () { }) ); }); + if (form_data.new_tab) { + the_form.attr("target", "_blank"); + } $("body").append(the_form); the_form.submit(); });