Bug 16337 - Remove the use of "onclick" from the stage MARC records template
authorOwen Leonard <oleonard@myacpl.org>
Mon, 25 Apr 2016 01:11:52 +0000 (21:11 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 16:43:55 +0000 (16:43 +0000)
commit75cff6cac755acb61107cd12077b58c3ae6d6ae6
treed6553ac3652080e5e4b0213f22ec8539cae00816
parenteb55af6d8660482db494e12215fe212c7c34dec7
Bug 16337 - Remove the use of "onclick" from the stage MARC records template

This patch reviseds the stage 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 -> Stage MARC records for
import.

- Select a MARC file for import.
- Click the "Upload file" button. Your upload should be processed
  correctly.
- Select a MARC file for import.
- Click the "Upload file" button.
- Click the "Cancel" button before the file has been uploaded. The
  upload should be cancelled.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt