Bugzilla – Attachment 52826 Details for
Bug 16795
Patron categories: Accept integers only for enrolment period and age limits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16795 - Patron categories: Accept integers only for enrolment period and age limits
Bug-16795---Patron-categories-Accept-integers-only.patch (text/plain), 1.76 KB, created by
Kyle M Hall (khall)
on 2016-06-24 16:00:51 UTC
(
hide
)
Description:
Bug 16795 - Patron categories: Accept integers only for enrolment period and age limits
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-06-24 16:00:51 UTC
Size:
1.76 KB
patch
obsolete
>From 84f1a0fd35187c966ce097e2ce658a97841236c6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Wed, 22 Jun 2016 07:57:06 +0200 >Subject: [PATCH] Bug 16795 - Patron categories: Accept integers only for > enrolment period and age limits > >To test: >- Apply patch >- Clear browser cache >- Go to Home > Administration > Patron categories >- Create or edit a category >- Verify that field 'In months', 'Age required' and 'Upperage limit' > accept digits only > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/js/categories.js | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/categories.js b/koha-tmpl/intranet-tmpl/prog/en/js/categories.js >index 0c34379..41bd7c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/categories.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/categories.js >@@ -59,7 +59,7 @@ $(document).ready(function() { > required: function(element){ > return $("#enrolmentperioddate").val() === ""; > }, >- number: true, >+ digits: true, > enrollment_period: true > }, > enrolmentperioddate: { >@@ -69,10 +69,10 @@ $(document).ready(function() { > enrollment_period: true > }, > dateofbirthrequired: { >- number: true >+ digits: true > }, > upperagelimit: { >- number: true >+ digits: true > }, > enrolmentfee: { > number: true >@@ -94,4 +94,4 @@ $(document).ready(function() { > } > > }); >-}); >\ No newline at end of file >+}); >-- >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 16795
:
52677
|
52684
| 52826