From 7102672032b37dc5d06a898dfb4eb099644499d5 Mon Sep 17 00:00:00 2001 From: Lari Strand Date: Mon, 3 Jun 2024 14:34:10 +0300 Subject: [PATCH] Bug 34718: Input field in fund list (Select2) on receive is inactive Signed-off-by: Matt Blenkinsop Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize (cherry picked from commit cbae44105555c3f54e0b83b1795a76ec33256ba6) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9e6f5f7192..ba3e00dfb4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -1181,7 +1181,7 @@ if (row.fund_id != row.fund.fund_id) { $("#bookfund").val(row.fund_id); } - $("#bookfund").select2({ width: '50%' }); + $("#bookfund").select2({ width: '50%', dropdownParent: $('#order_edit') }); $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name)); if( row.creator ) { $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')') -- 2.39.5