@@ -, +, @@ stage MARC records template - 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. --- .../intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt @@ -23,6 +23,14 @@ $(document).ready(function(){ $('#items').show(); } }); + $("#fileuploadbutton").on("click",function(e){ + e.preventDefault(); + StartUpload(); + }); + $("#fileuploadcancel").on("click",function(e){ + e.preventDefault(); + CancelUpload(); + }); }); function CheckForm(f) { if ($("#fileToUpload").value == '') { @@ -137,8 +145,8 @@ function cbUpload( status, fileid ) {
- - + +
--