Bug 37192: Add ability to pass data-new_tab to form-submit.js and open in new tab
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 4c244df82a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
4249454095
commit
61dd963360
|
|
@ -30,6 +30,9 @@ $(document).ready(function () {
|
|||
})
|
||||
);
|
||||
});
|
||||
if (form_data.new_tab) {
|
||||
the_form.attr("target", "_blank");
|
||||
}
|
||||
$("body").append(the_form);
|
||||
the_form.submit();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue