[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
Thu Feb 20 10:47:32 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11785
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25405|0 |1
is obsolete| |
--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 25480
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25480&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.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list