From 8327d14a7b1e89cf6ead242f05885d29437c9753 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 Content-Type: text/plain; charset=utf-8 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 --- koha-tmpl/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 fe420c4..42bb4ef 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.1.4