https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44103 --- Comment #3 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Info for QA: Checking other occurrences of AjaxUpload: koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt: xhr = AjaxUpload($("#fileToUpload"), $("#fileuploadprogress"), "temp=1", cbUpload); Just wondering if the cbUpload else branch works here (but out of scope; the status failed or denied is passed). $("#fileuploadfailed").text(_("Upload status: ") + (status == "failed" ? _("Failed") + " - (" + errCode + ") " + errMsgs[errCode] : status == "denied" ? _("Denied") : status)); Does that work: errMsgs[errCode] ? koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt: xhr = AjaxUpload($("#fileToUpload"), $("#fileuploadprogress"), "temp=1", cbUpload); Same code as in process_koc.tt. Same doubts. koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt: xhr = AjaxUpload($("#fileToUpload"), $("#fileuploadprogress"), "temp=1", cbUpload); Again same code. koha-tmpl/intranet-tmpl/prog/js/upload-images.js:function AjaxUpload(formData, progressbar, xtra, callback) { This template redefines the AjaxUpload (actually some kind of copy-paste containing the same error of not checking the JSON parse). And note that cbUpload here is a reformatted version of the process_koc.tt code. So dubious. Will try to add a small follow-up here still. -- You are receiving this mail because: You are watching all bug changes.