Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 39597b86ae Bug 15773: Fix and standardise checkboxes code in framework
When creating a new subfield for an authority framework, the checkboxes
don't behave as they should.
If you click on the 'repeatable', 'mandatory' or 'is url' checkbox's
label, the checkbox from the second tab will be checked/unchecked.
This is caused by a non-unique id of the input element.

I have found this bug when working on the removal of CGI::checkbox in
both admin/auth_subfields_structure.pl and
admin/marc_subfields_structure.pl scripts.

This patch remove the use of CGI::checkbox as well as the generation of
html code from these 2 pl scripts (which should be avoided).
The code these scripts are now pretty similar.

Test plan:
Add/modify/remove subfield for a MARC framework and an Authority
framework.
Use as many field as possible and confirm that the values are correctly
inserted/displayed.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-23 01:06:55 +00:00
..
acqui Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
admin Bug 15773: Fix and standardise checkboxes code in framework 2016-03-23 01:06:55 +00:00
authorities Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
basket Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
batch
catalogue Bug 16060 - Add Font Awesome icon to Z39.50 search button when no results are found 2016-03-21 21:32:20 +00:00
cataloguing Bug 16078 [Revised] Remove unused YUI CSS 2016-03-23 01:03:47 +00:00
circ Bug 16078 [Revised] Remove unused YUI CSS 2016-03-23 01:03:47 +00:00
common
course_reserves
errors
help Bug 15861: Isolated 'The' in help files untranslatable 2016-03-23 00:00:45 +00:00
installer
labels Bug 16020 - Remove unused CSS and images following label creator UX changes 2016-03-22 00:58:58 +00:00
members Bug 16029: Hide patron toolbar if patron does not exist 2016-03-22 00:56:56 +00:00
offline_circ
patron_lists Bug 16022 - Use Font Awesome icons on patron lists page 2016-03-11 21:54:12 +00:00
patroncards Bug 16020 - Remove unused CSS and images following label creator UX changes 2016-03-22 00:58:58 +00:00
plugins
reports Bug 16061: Use Font Awesome icons in reports when filter returns no results 2016-03-21 21:31:31 +00:00
reserve Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reviews
rotating_collections Bug 15830 - Move Rotating Collections actions into a drop-down list 2016-02-24 03:14:27 +00:00
serials Bug 16075: Making numbering patterns actions buttons 2016-03-23 01:04:42 +00:00
services
sms
suggestion Bug 15084: Replace C4::Budgets::GetCurrencies with Koha::Acquisition::Currencies->search 2016-03-03 20:39:01 +00:00
tags Bug 16064 - Remove use of image to indicate approval in tags moderation 2016-03-21 21:30:19 +00:00
test
tools Bug 15868: Ask for confirmation when deleting a MMT action 2016-03-22 00:15:42 +00:00
virtualshelves Bug 16110: Making lists actions buttons 2016-03-23 00:03:03 +00:00
about.tt Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
auth.tt
intranet-main.tt