There are a couple of instances of "onclick" in stage-marc-import.tt which can be removed in favor of defining events in the JavaScript.
Created attachment 50640 [details] [review] 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.
Created attachment 50688 [details] [review] [SIGNED-OFF] 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>
Created attachment 50789 [details] [review] [PASSED QA] 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>
Pushed to master for the 16.05 release. Thanks Owen!