Koha/koha-tmpl/intranet-tmpl/prog/js
Jonathan Druart 6ed29bccef Bug 27526: Fix mandatory and important checks
The input names have been changed from "field_value" to $kohafield.
Modifying this could have an impact in other area, where
CheckMandatorySubfields and CheckImportantSubfields are called.
Using .input_marceditor let us fix the additem.tt form and prevent to
break the other ones.
Note that the other ones are actually broken (!)

Also note that there is a typo in the error message
        alertString2 += "\n- " + "%s " + MSG_MANDATORY_FIELDS_EMPTY.format(total_errors);
There is an extra %s

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-06 11:44:22 +02:00
..
pages Bug 28937: Use Flatpickr on circulation and patron pages 2021-09-29 12:47:33 +02:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js
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
browser.js Bug 20529: Remove other occurrences of decodeURIComponent from browser.js 2021-09-01 15:53:41 +02:00
calendar.js Bug 28937: Use Flatpickr on circulation and patron pages 2021-09-29 12:47:33 +02:00
cart.js
cashup_modal.js
catalog.js
cataloging.js Bug 27526: Fix mandatory and important checks 2021-10-06 11:44:22 +02:00
cataloging_additem.js
categories.js Bug 28928: Minor follow-ups to Bug 28376 - Flatpickr introduction 2021-09-01 15:46:01 +02:00
charts.js
checkouts.js Bug 28937: Use Flatpickr on circulation and patron pages 2021-09-29 12:47:33 +02:00
circ-patron-search-results.js
datatables.js
desk_selection.js
elasticsearch-mappings.js
file-upload.js
funds_sorts.js
holds.js Bug 28937: Use Flatpickr on circulation and patron pages 2021-09-29 12:47:33 +02:00
ill-availability-partner.js
ill-availability.js Bug 27170: Fix bug fix 2021-09-21 20:22:57 +02:00
ill-list-table.js Bug 28983: Use Flatpickr on various pages 2021-10-05 10:58:14 +02:00
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
register_selection.js
rotating-collections.js
select2.js Bug 29133: Correct select2 strings 2021-10-05 09:17:20 +02:00
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js
subscription-add.js
table_filters.js
tools-menu.js
viewlog.js
xmlControlfield.js
z3950_search.js Bug 28773: (QA follow-up) Additional changes 2021-08-04 14:06:43 +02:00