[Koha-bugs] [Bug 11785] Use validation plugin when uploading local cover images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 18 18:21:43 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11785

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 25389
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25389&action=edit
Bug 11785 - Use validation plugin when uploading local cover images

When uploading local cover images the form should not be submitted if
no file has been selected. The existing form validation script doesn't
work. This patch adds HTML5 validation attributes and use of Koha's
built-in form validation plugin.

To test, apply the patch and go to Tools -> Upload local cover image.
Try to submit the form without selecting a file to upload. You should be
prevented from doing so. Choose a file and confirm that the upload
completes correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list