Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 8f83d773ad Bug 28423: JavaScript error on MARC modifications page
This patch makes a minor change to the MARC modifications template so
that the "mmtas" variable isn't defined if there is no JSON to be
assigned as its value.

To test, apply the patch and go to Administration -> MARC modification
templates.

 - If necessary, add a template with at least one action.
 - Check the browser console, there should be no errors.
 - Click the "Edit" button corresponding to one of the template actions.
 - The details of the action should load correctly in the edit form and
   there should be no errors in the console.

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-06-21 12:07:28 +02:00
..
access_files.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt
batch_extend_due_dates.tt
batch_record_modification.tt
batchMod-del.tt Bug 28353: Display a list of items that cannot be deleted 2021-06-04 12:04:42 +02:00
batchMod-edit.tt Bug 27929: (QA follow-up) Hide tag editor on regex 2021-06-21 10:50:09 +02:00
batchMod.tt
cleanborrowers.tt Bug 28191: Upate wording on batch patron deletion 2021-06-21 10:50:09 +02:00
csv-profiles.tt
export.tt
holidays.tt
import_borrowers.tt Bug 28220: UI changes 2021-05-17 12:29:24 +02:00
inventory.tt
koha-news.tt
letter.tt
manage-marc-import.tt
marc_modification_templates.tt Bug 28423: JavaScript error on MARC modifications page 2021-06-21 12:07:28 +02:00
modborrowers.tt
overduerules.tt
picture-upload.tt
preview_letter.tt
problem-reports.tt
quotes-upload.tt Bug 27942: Prevent XSS vulnerabilities in quote-upload 2021-05-26 09:26:56 +02:00
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt
stockrotation.tt
tools-home.tt
upload-images.tt
upload.tt Bug 27594: (follow-up) don't display "Copy link[...]" when not possible 2021-05-07 14:44:00 +02:00
viewlog.tt Bug 28108: (QA follow-up) Add actions to log viewer 2021-05-10 15:52:53 +02:00