From 5d94d1a49db0f2c26463fb28063ab2a43070710d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Jul 2016 12:20:33 -0400 Subject: [PATCH] Bug 16937 - Remove "onclick" from the manage staged MARC records template Content-Type: text/plain; charset="utf-8" This patch revises the manage staged MARC records template, removing "onclick" attributes from the markup and defining those events in the script. To test, apply the patch and go to Tools -> Manage staged MARC records. - If necessary, stage a MARC file for import. - Click the name of the staged file and then the "Import this batch into the catalog" button. The batch should be correctly imported. - Return to the list of staged MARC files. - Click the name of an imported file and then the "Undo import into catalog" button. The import should be reverted. - Return to the list of staged MARC files. - Click the "Clean" button for any record. Confirm that the batch is cleaned. - For any cleaned record, click the "Delete" button. The batch should be deleted. --- .../prog/en/modules/tools/manage-marc-import.tt | 33 ++++++++++++++-------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index a8a9572..b846a4f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -37,10 +37,6 @@ [% INCLUDE 'datatables.inc' %]