diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt index 6fdf5ce1e4..a126288e2c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt @@ -10,6 +10,17 @@ var xhr; $(document).ready(function(){ $("#enqueuefile").hide(); $("#processfile").hide(); + $("#upload_file").on("click",function(){ + StartUpload(); + }); + $("#queueformsubmit").on("click",function(){ + var processfile = document.getElementById("processfile"); + return CheckForm( processfile ); + }); + $("#mainformsubmit").on("click",function(){ + var enqueuefile = document.getElementById("enqueuefile"); + return CheckForm( enqueuefile ); + }); }); function StartUpload() { @@ -89,11 +100,13 @@ function CheckForm(f) {