@@ -, +, @@ templates - Go to Circulation -> Upload offline circulation file - Browse for an offline circulation file. - Clicking the 'Upload file' button should work correctly. - After uploading a file, both the 'Add to offline circulation queue' and 'Apply directly' buttons should work to trigger their corresponding processes (keeping Bug 16603 in mind). - Go to Patrons -> Patron lists. - For any patron list containing patrons, click the 'Print patron cards' menu item. This should trigger a modal window which exports the correct list. - Go to Tools -> Batch item modification. - Submit a batch of items for modification. - Clicking the 'Save' button should trigger the background job and the items should be successfully modified. - Go to Tools -> Batch item deletion. - Submit a batch of items for deletion. - Clicking the 'Delete' button should trigger the background job and the items should be successfully deleted. - Go to Tools -> Calendar. - Trigger the 'Add new holiday' panel by clicking a day on the calendar which has no holiday defined. - Clicking the 'Cancel' link should hide the panel. - Trigger the 'Edit this holiday' panel by clicking a day which has a holiday defined. - Clicking the 'Cancel' link should hide the panel. --- .../prog/en/modules/offline_circ/process_koc.tt | 19 ++++++++++++++++--- .../prog/en/modules/patron_lists/lists.tt | 11 ++++++++--- .../prog/en/modules/tools/batchMod-del.tt | 9 +++++++-- .../prog/en/modules/tools/batchMod-edit.tt | 8 +++++--- .../intranet-tmpl/prog/en/modules/tools/holidays.tt | 13 ++++++++++--- 5 files changed, 46 insertions(+), 14 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt +++ a/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) {