Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Owen Leonard 2f998ab38d
Bug 16457: Remove the use of "onclick" from the patron entry form
This patch removes several event attributes from the patron entry form
and replaces them with event handlers in the <script> block.

Some event attributes were removed altogether because they weren't
functional: Onchange events on jQueryUI datepickers don't work, and they
would have been redundant even if they did work.

To test you should have some patron attributes configured
(Administration -> Patron attribute types). At least one attribute
should be configured to apply to one particular patron category.

Apply the patch and begin the process of adding a new patron.

1. Try to add a patron with details matching a patron which already
   exists. You should get a confirmation message on screen which asks if
   the patron is a duplicte. Test the link which shows the existing
   record. It should trigger a popup window with details about the
   patron.

2. Test the process of setting a patron's date of birth. Selecting a
   date should trigger the display of the patron's age immedately below
   the field.

3. Test that you cannot set a patron's expiration to a date which
   precedes the date in the registration date field.

4. Test that you can add a manual restriction's expiration date, and
   that the "Clear date" link works correctly.

5. Test that the "clear" and "new" controls links work with additional
   attributes and identifiers.

6. Test that changing the patron's category correctly affects the
   display of available attributes and identifiers: The attribute you
   have associated with a particular patron category should only show if
   that category is selected under "Category."

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-26 12:03:42 +00:00
..
tables Bug 22781: Correctly filter the emails 2019-05-15 12:10:53 +00:00
accountline-details.tt
apikeys.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
boraccount.tt Bug 24951: Add id to payout modal confirm button 2020-03-24 11:20:53 +00:00
deletemem.tt Bug 24008: Display warnings in a list 2020-01-20 14:03:52 +00:00
discharge.tt
discharges.tt
files.tt
holdshistory.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
housebound.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
ill-requests.tt
mancredit.tt Bug 23805: Update mancredit to use the new credit types 2019-10-24 17:35:21 +01:00
maninvoice.tt Bug 14898: Add button at manual invoice to redirect to pay tab 2020-02-20 09:04:27 +00:00
member-flags.tt Bug 14741: Selecting all child permissions doesn't select the top level check box 2019-11-26 11:11:06 +00:00
member-password.tt Bug 22706: Add plugin hooks for Norwegian national patron database 2019-10-29 12:19:49 +00:00
member.tt Bug 17374: (follow-up) Remove spaces from include file 2020-03-10 15:18:29 +00:00
memberentrygen.tt Bug 16457: Remove the use of "onclick" from the patron entry form 2020-03-26 12:03:42 +00:00
members-update.tt Bug 24476: Rename autorenewal to autorenew_checkouts 2020-03-24 11:23:54 +00:00
merge-patrons.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
moremember-brief.tt Bug 24476: Rename autorenewal to autorenew_checkouts 2020-03-24 11:23:54 +00:00
moremember-print.tt Bug 23049: Update existing code to use debit_type 2019-10-24 17:24:15 +01:00
moremember.tt Bug 24476: Rename autorenewal to autorenew_checkouts 2020-03-24 11:23:54 +00:00
notices.tt Bug 23673: Add "Updated on" column to patron's notices 2020-02-05 14:22:43 +00:00
pay.tt Bug 23051: (follow-up) Fix renew summary display 2020-03-06 10:03:51 +00:00
paycollect.tt Bug 24495: Reword change collection feature 2020-03-18 08:45:07 +00:00
printfeercpt.tt Bug 22716: (RM follow-up) missing filter and update description 2019-05-10 14:29:13 +00:00
printinvoice.tt Bug 22809: (RM follow-up) fix missing filter and update description 2019-05-10 14:43:11 +00:00
purchase-suggestions.tt Bug 24585: Add 'Managed on' and 'Suggested on' columns to pat_purchase_suggestions.tt 2020-02-10 10:15:25 +00:00
readingrec.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
routing-lists.tt
statistics.tt
update-child.tt