Bugzilla – Attachment 68052 Details for
Bug 19453
Client side validation broken for "Fund" select
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19453: Incorrect jQuery selector for fund drop down validation
Bug-19453-Incorrect-jQuery-selector-for-fund-drop-.patch (text/plain), 1.38 KB, created by
Marcel de Rooy
on 2017-10-13 08:49:24 UTC
(
hide
)
Description:
Bug 19453: Incorrect jQuery selector for fund drop down validation
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-10-13 08:49:24 UTC
Size:
1.38 KB
patch
obsolete
>From 8327d14a7b1e89cf6ead242f05885d29437c9753 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >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 <oleonard@myacpl.org> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19453
:
67996
|
67997
| 68052