Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 81431ee28a Bug 20226: Centralize update child code (CATCODE_MULTI)
Code and variables to deal with the update child feature are not
centralized but copied/pasted in several scripts. Which leads to issues
obsviously (bug 20805 for instance).

Moreover the strings used by the templates are also in several template
files (or .inc)

To deal with that this patch introduces the idea to create 1 .inc file
per .js file
Here we have members-menu.inc for members-menu.js

Test plan:
- Remove all your adult categories (categories.category_type='A')
- Create a patron with a child category
- Try to update to adult category
=> The entry does no longer appears! (This is a change in the behaviour)
- Create one adult category
- Update to adult category
=> There is a JS confirmation message, if you accept the patron will
be updated to the adult category
- Create (at least) another adult category
- Create another child
- Update to adult category
=> No more confirmation message but a popup to select the adult category
- Pick one
=> The patron has been updated to the adult category

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-14 11:58:26 +00:00
..
acqui Bug 21164: Fix alignment on new basket form in acquisitions 2018-08-14 11:45:41 +00:00
admin Bug 21151: Fix SRU search fields mapping pop-up 2018-08-08 20:51:25 +00:00
authorities Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
basket Bug 16575: Irregular behaviour using window.print() followed by window.location.href 2018-07-19 16:12:56 +00:00
batch
catalogue Bug 19902: (follow-up) Deal with patron column regarding on intranetreadinghistory setting 2018-07-18 17:24:51 +00:00
cataloguing Bug 20641: Switch single-column templates to Bootstrap grid: Various, part 2 2018-07-06 13:41:21 +00:00
circ Bug 20226: Centralize update child code (CATCODE_MULTI) 2018-08-14 11:58:26 +00:00
clubs Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
common Bug 20641: Switch single-column templates to Bootstrap grid: Various, part 2 2018-07-06 13:41:21 +00:00
course_reserves Bug 20467: (QA follow-up) Display error if no or invalid course id is passed 2018-07-02 12:55:38 +00:00
errors Bug 16270: Typo authentification/authentication 2016-04-29 14:44:26 +00:00
help Bug 7136: Correct description of Grace period for subscriptions 2018-07-06 11:37:23 +00:00
ill Bug 20770: ILL loans OPAC form notes field allow arbitrary input 2018-08-02 10:22:02 -03:00
installer Revert "Bug 20104: Update minimum version of Perl to 5.20" 2018-04-19 12:32:23 -03:00
labels Bug 21050: Fix datepickers on LabelItemSearch 2018-08-09 10:47:07 +00:00
members Bug 20226: Centralize update child code (CATCODE_MULTI) 2018-08-14 11:58:26 +00:00
offline_circ Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
onboarding Bug 20189: Fix style on installer and onboarding pages 2018-02-13 12:57:21 -03:00
patron_lists Bug 19524: Use existing logged_in_user variable 2018-07-18 16:49:30 +00:00
patroncards Bug 20650: (follow-up) Add missing include file 2018-07-06 13:47:13 +00:00
plugins Bug 20650: Switch single-column templates to Bootstrap grid: Various, part 3 2018-07-06 13:47:13 +00:00
reports Bug 21132: Highlight active filters on saved report page 2018-08-09 11:41:53 +00:00
reserve Bug 20220: Move template JavaScript to the footer: Holds 2018-07-06 13:39:02 +00:00
reviews Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
rotating_collections Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
serials Bug 7910: Give feedack when the subscriptions have been renewed 2018-05-11 11:04:44 -03:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
suggestion Bug 21048: Fix display of suggestion's status (SUGGEST_STATUS) 2018-08-08 20:58:23 +00:00
tags Bug 21185: Incorrect title tag on tags review page 2018-08-14 11:44:23 +00:00
test Bug 14321: Final cleanup, removing obsolete files 2015-09-25 12:02:52 -03:00
tools Bug 20226: Centralize update child code (CATCODE_MULTI) 2018-08-14 11:58:26 +00:00
virtualshelves Bug 20650: Remove unused virtualshelves/merge.tt 2018-07-06 13:47:14 +00:00
about.tt Bug 20647: (alternate) When ILL is enabled the hover effect on the ILL requests button is wrong 2018-08-10 10:38:12 +00:00
auth.tt Bug 20291: Add a StaffLoginInstructions preference for adding text to staff client login 2018-04-02 18:08:07 -03:00
intranet-main.tt Bug 20647: (alternate) When ILL is enabled the hover effect on the ILL requests button is wrong 2018-08-10 10:38:12 +00:00