Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 3607fdfe79 Bug 21813: In-page JavaScript causes error on patron entry page
This patch removes a block of JavaScript from memberentrygen.tt which
was being included in the page before jQuery is loaded. This causes a
JavaScript error.

To test, apply the patch, regenerate CSS, and clear your browser cache
if necessary.

 - In Administration -> Patron categories, confirm that you have two
    patron categories with different default messaging preferences
    defined.
 - Go to Patrons -> New patron
   - Create a new patron using one of the categories with messaging
     preferences.
   - Confirm that when you switch the category selection to the other
     patron category, the patron messaging preference checkboxes are
     changed to the default for that category.
     - A "Loading" indicator should appear above the checkboxes to show
      that an operation is in process. It should disappear when new
      default prefs are loaded.
   - Manually change one or more patron messaging preference checkboxes.
   - Switch the patron category again and confirm that you are prompted
     to confirm resetting the preferences to the default for that
     category.
 - Perform the same set of tests when editing a patron.
   - Defaults should not be loaded during the edit process.
 - Confirm that there are no other JavaScript errors in the console.
 - Test again with EnhancedMessagingPreferences disabled.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-08 14:09:14 +00:00
..
pages Bug 19490: Add a 'Holds' column to the items batchmodification tool 2018-11-05 14:41:04 +00:00
acq.js Bug 18639: (follow-up) Populate replacement price from list price during ordering 2018-08-31 12:46:51 +00:00
acquisitions-menu.js Bug 20931: JS error "ReferenceError: $ is not defined" when CircSidebar is turned on 2018-07-02 11:10:00 +00:00
additem.js Bug 16939: Making all 'add to basket' actions buttons 2019-01-02 20:27:28 +00:00
admin-menu.js Bug 20931: JS error "ReferenceError: $ is not defined" when CircSidebar is turned on 2018-07-02 11:10:00 +00:00
ajax.js
audio_alerts.js
auth-finder-search.js Bug 20273: (follow-up) Autocomplete use start instead of contains 2018-07-19 17:25:16 +00:00
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 16575: Irregular behaviour using window.print() followed by window.location.href 2018-07-19 16:12:56 +00:00
basketgroup.js
biblio_framework.js
cart.js Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
catalog.js Bug 21556: Deleting same record twice leads to fatal software error 2018-11-01 19:05:12 +00:00
cataloging.js Bug 19503: Duplicating a dropdown menu subfield yields an empty subfield tag 2017-10-27 13:57:10 -03:00
categories.js Bug 20781: Set a minimum enrollemnt period 'in months' of 1 2018-05-29 13:56:00 +00:00
charts.js Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
checkouts.js Bug 15494: Update display of renewal errors 2018-11-07 21:39:38 +00:00
circ-patron-search-results.js Bug 20221: Fix for JavaScript error during checkout patron search 2018-02-16 13:00:57 -03:00
commons.js Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
datatables.js Bug 21506: DataTables four button pagination uses the wrong icon for First and Last buttons 2018-10-09 12:57:41 +00:00
file-upload.js
funds_sorts.js Bug 15184: Prepare the ground - Move funds and sort fields autoupdate 2018-11-08 15:52:56 +00:00
holds.js Bug 13618: (follow-up) Escape HTML chars in holds.js 2018-08-17 15:55:13 +00:00
item_search_fields.js
letter.js Bug 21795: Switch two-column templates to Bootstrap grid: Notices and slips 2018-12-26 20:47:03 +00:00
localcovers.js Bug 19511: Local cover images not centered in table column in staff client search results 2018-08-21 12:48:36 +00:00
marc_modification_templates.js Bug 21861: (follow-up) replace onchange() with jQuery equivalent 2018-11-29 18:32:49 +00:00
marc_subfields_structure.js
members-menu.js Bug 21068: Remove NorwegianPatronDB related code 2018-08-30 13:40:29 +00:00
members.js Bug 19907: Fix email validation in patron edit form 2018-04-02 18:07:45 -03:00
merge-record.js
messaging-preference-form.js Bug 21813: In-page JavaScript causes error on patron entry page 2019-01-08 14:09:14 +00:00
offlinecirc.js
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
prevent_submit.js
rotating-collections.js Bug 19656: Move rotating collections templates JS to the footer 2017-12-11 11:34:22 -03:00
serials-toolbar.js Bug 20778: (bug 19777 follow-up) Fix subscription deletion 2018-06-08 09:48:12 -04:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js
staff-global.js Bug 20312: Add a link to last consulted patron 2018-11-08 15:38:20 +00:00
subscription-add.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
table_filters.js Bug 9573: Lost items report - add KohaTable to itemlost 2018-02-17 18:32:14 -03:00
tools-menu.js Bug 11897: (QA follow-up) Update of tools-menu.js 2018-10-09 15:46:08 +00:00
xmlControlfield.js
z3950_search.js