https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44103

--- Comment #5 from Marcel de Rooy <[email protected]> ---
Created attachment 211605
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211605&action=edit
Bug 44103: (follow-up) Similar change for alternative AjaxUpload in
upload-images.js

Using this opportunity to rename this AjaxUpload to AjaxImageUpload to
make a distinction between the two.

I added a FIXME for the error processing in cbUpload. The logic used
is the same as in a few other js files, but is just wrong. Correcting
that is outside the scope of this bug. Opened a new bug.

Test plan:
Upload an image with upload-images that is larger than the max request body.
Verify that it does not silently fail but shows the error:
  Upload status: Failed - (AJAX_FAILURE)
Note: This message should be enhanced on a follow-up report.

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to