From 2e92ffe2ea6df0276377bd679685aa9e00dd5799 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Thu, 1 Nov 2018 21:08:19 +0000 Subject: [PATCH] Bug 21346: Remove double dialog To Test: 1) Place a hold on an item for pickup at another branch. 2) Check in item to trigger hold and transfer. 3) Check in item again without changing location. Note modal AND old dialog behind modal. 4) Apply patch. 5) Check in item again without changing location. Note modal without the old dialog. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 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 dec258ba17..a1df90d2e0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -171,7 +171,7 @@ [% END %] -[% IF ( WrongTransfer ) %] +[% IF ( WrongTransfer && !transfertodo ) %]

Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %]

-- 2.11.0