From b830349f45007629f141a9835e05b95f90ee4b92 Mon Sep 17 00:00:00 2001 From: David Gustafsson Date: Thu, 12 Oct 2017 13:57:48 +0200 Subject: [PATCH] Bug 19453: Incorrect jQuery selector for fund drop down validation Steps to reproduce: 1. Create a new basket 2. Choose "Add to masket" 3. Choose "From a staged file" 4. Select a file 5. Save without selecting a fund Expected results: A validation error should be shown, and form submit halted. Actual results: No validation error is shown and form submits. Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index fe420c405b..42bb4efa7e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -138,7 +138,7 @@ } var error = 0; - $("select[name='budget_code']").each(function() { + $("select[name='budget_id']").each(function() { if (!$(this).val()) { error++; } -- 2.39.5