Bugzilla – Attachment 52684 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]
[SIGNED-OFF] Bug 16795 - Patron categories: Accept integers only for enrolment period and age limits
SIGNED-OFF-Bug-16795---Patron-categories-Accept-in.patch (text/plain), 1.76 KB, created by
Owen Leonard
on 2016-06-22 12:28:38 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16795 - Patron categories: Accept integers only for enrolment period and age limits
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-06-22 12:28:38 UTC
Size:
1.76 KB
patch
obsolete
>From edb640e531a43ee7d53cbc93ac16c176357ef94a 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] [SIGNED-OFF] Bug 16795 - Patron categories: Accept integers > only for enrolment period and age limits >Content-Type: text/plain; charset="utf-8" > >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> >--- > 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