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
additem.js Bug 16939: Making all 'add to basket' actions buttons 2019-01-02 20:27:28 +00:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js
basketgroup.js
biblio_framework.js
cart.js
catalog.js Bug 21556: Deleting same record twice leads to fatal software error 2018-11-01 19:05:12 +00:00
cataloging.js
categories.js
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
commons.js
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
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
prevent_submit.js
rotating-collections.js
serials-toolbar.js
showpredictionpattern.js
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
table_filters.js
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