From 3a430639c4a807bd44501f29445a27f08f62915b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 17 May 2021 10:42:04 +0100 Subject: [PATCH] Bug 24434: Submit on print slip This patch ensures that the print slip option on the WrongTransfer modal also submits the form and thus triggers the actual transfer of the item. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 668e67db58..19a3a6cf6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -459,7 +459,7 @@ - + @@ -1127,6 +1127,10 @@ $('.openWin').on("click",function(e){ Dopop( $(this).data("url") ); }); + + $('.submit').on("click",function(e){ + this.form.submit(); + }); $('.cancel').on("click",function(e){ var docancel = $("").attr("type", "hidden").attr("name", "canceltransfer").val(1); -- 2.20.1