Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Fridolin Somers 3ca0234d34 Bug 22242: Javascript error in value builder cased by Select2
Same as Bug 17780 but in value builders.

Select2 (Bug 13501) introduced divs and inputs that broke some
assumptions about the expected HTML structure. This patch checks if
input has name attribute, because some inputs in Select2 have not.

It brakes value builders marc21_linking_section.tt and
unimarc_field_4XX.tt.

Test plan :
1)  On a MARC21 database
2)  Define 774$0 as a regular subfield
3)  Define 774$4 with an authorised value category
4)  Define 774$t with value builder marc21_linking_section
5)  Create a new record
6)  Use value builder in 774$t
7)  Search for a record and click choose
8)  Without patch : a popup window does not close and show a blank
    screen
9)  With patch : popup windows get close and you see in field 774 $0 and
    $t field with values
10) Same tests with a UNIMARC database on field 461 with value builder
    unimarc_field_4XX.tt

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

Tested successfully with MARC21

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-04 14:11:34 +00:00
..
acqui Bug 21089: Overlapping elements in ordering information on acqui/supplier.pl 2019-01-28 11:37:09 +00:00
admin Bug 22132: Add RESTBasicAuth syspref 2019-01-30 18:57:18 +00:00
authorities Bug 21672: Switch templates to Bootstrap grid: Various 2019-01-25 17:41:37 +00:00
basket Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
batch Bug 21529: (bug 13618 follow-up) Display print notices with HTML tags 2018-11-21 11:09:32 +00:00
catalogue Bug 21672: Switch templates to Bootstrap grid: Various 2019-01-25 17:41:37 +00:00
cataloguing Bug 22242: Javascript error in value builder cased by Select2 2019-02-04 14:11:34 +00:00
circ Bug 17854: Adds print/close icon in checkout 2019-01-30 12:28:02 +00:00
clubs Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
common Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
course_reserves Bug 21838: Wrong alignment of instructors in course reserves 2018-11-16 12:53:02 +00:00
errors Bug 21790: Switch error page template to Bootstrap grid 2018-12-26 20:47:03 +00:00
ill Bug 20640: (follow-up) Always send a backend on migrate 2019-01-28 13:06:32 +00:00
installer Bug 19833: Kill all the "bibilos" - final couple 2018-09-19 13:54:43 +00:00
labels Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
mana Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
members Bug 22148: Changed where user is redirected by cancelling payment 2019-01-30 11:54:41 +00:00
offline_circ Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
onboarding Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
patron_lists Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
patroncards Bug 21438: Update two-column templates with Bootstrap grid: Patron card creator 2019-01-25 20:35:51 +00:00
plugins Bug 21866: Changed "report" to "plugins" for the warning "This report was written for an older version of Koha. Run at your own risk" 2019-01-17 02:23:26 +00:00
reports Bug 22168: Improve styling of new chart settings for reports 2019-01-28 16:05:37 +00:00
reserve Bug 12283: Disable autocomplete for patron search inputs 2019-01-30 11:53:17 +00:00
reviews Bug 21570: Update two-column templates with Bootstrap grid: Various 2018-11-05 14:41:09 +00:00
rotating_collections Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
serials Bug 21792: Switch two-column templates to Bootstrap grid: Serials part 3 2019-01-25 20:32:48 +00:00
services Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
suggestion Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
tags Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
test
tools Bug 20634: Changing the identical label "Library:" to "Location" in Inventory Home. 2019-01-30 11:35:34 +00:00
virtualshelves Bug 21573: Move lists barcode and biblionumber entry form to modal 2019-01-28 13:06:35 +00:00
about.tt Bug 7143: Fix typo in adding new dev 2019-01-18 20:12:08 +00:00
auth.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
intranet-main.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00