Koha/koha-tmpl/intranet-tmpl/prog/js/pages
Owen Leonard 432f296b96 Bug 26296: (follow-up) Make sure title remains mandatory
This patch adds a flag to the OPAC preferences file marking suggestion
title as mandatory OPACSuggestionMandatoryFields and excluded from
OPACSuggestionUnwantedFields.

The patch also modifies the markup around required fields in the OPAC
suggestion form to comply with changes made in Bug 27668 to mandatory
field styling.

To test, apply the patch and restart services.

- Test the OPACSuggestionMandatoryFields preference. In the modal,
  "title" should be checked and the label in red. It should not be
  possible to uncheck the checkbox.
  - Test that the "Select all" and "Clear all" links don't affect the
    "title" checkbox.
  - Confirm that your selections are still saved correctly.
- Test the OPACSuggestionUnwantedFields preference. In the modal,
  "title" should be unchecked and disabled.
  - Test that the "Select all" and "Clear all" links don't affect the
    "title" checkbox.
  - Confirm that your selections are saved correctly.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-09 21:04:17 -10:00
..
addbiblio.js
batchMod.js Bug 28445: Use the task queue for the batch delete and update items tool 2021-10-18 11:28:40 +02:00
circulation.js Bug 29459: Replace some missed datetimepickers in circulation templates with Flatpickr 2021-11-15 12:38:39 +01:00
preferences.js Bug 26296: (follow-up) Make sure title remains mandatory 2022-01-09 21:04:17 -10:00
results.js Bug 28180: Fix collision with existing verify_images 2021-10-21 12:24:04 +02:00
stockrotation.js
tags-review.js Bug 28007: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00