Bugzilla – Attachment 67996 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]
Incorrect jQuery selector for fund drop down validation
Incorrect-jQuery-selector-for-fund-drop-down-valid.patch (text/plain), 1.29 KB, created by
David Gustafsson
on 2017-10-12 12:11:28 UTC
(
hide
)
Description:
Incorrect jQuery selector for fund drop down validation
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2017-10-12 12:11:28 UTC
Size:
1.29 KB
patch
obsolete
>From 5b846782da15eb37baa476cf4ae6965d73e40f10 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] 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. > >https://bugs.koha-community.org/show_bug.cgi?id=19453 >--- > 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 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.11.0
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