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

--- Comment #6 from Jonathan Druart <jonathan.dru...@biblibre.com> ---
Created attachment 39387
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39387&action=edit
[COUNTER-PATCH] Bug 14118: Prevent to save a letter if an error occurred

On saving a letter, if the title or the content of a template is not
defined, a JS alert is raised. But the form is submitted anyway.
This patch prevent the form to be submitted.

Test plan:
- Create or edit a letter
- Fill the title for a template, not the content
- Save
- Confirm you get the alert and that the form is not submitted

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to