Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart d56a275c0d Bug 14070: 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

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

Signed-off-by: Indranil Das Gupta <indradg@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-06-17 09:55:40 -03:00
..
acqui Bug 13619: Acq home: ensure 'manage suggestions' goes to pending suggestions 2015-06-05 12:53:10 -03:00
admin Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
authorities Bug 8399: Display tab number on the mandatory field alert (authority) 2015-05-18 12:11:23 -03:00
basket Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
batch
catalogue Bug 10938: Item columns displayed in random order 2015-06-05 14:13:39 -03:00
cataloguing Bug 14276: Keep highlight on the active item in item editor 2015-06-05 12:54:36 -03:00
circ Bug 7981: (QA followup) Rename TT vars 2015-06-11 10:41:49 -03:00
common Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
course_reserves Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
errors Bug 10285: Remove links from the error pages 2015-04-20 09:57:54 -03:00
help Bug 14125: Fix template problems on csv profiles help page 2015-05-07 10:57:38 -03:00
installer Bug 14152: Re-check required dependencies during upgrade process 2015-05-18 12:12:33 -03:00
labels Bug 12160: Rename intranetuserjs with IntranetUserJS 2015-05-26 10:42:07 -03:00
members Bug 13336 - Add time to date column for patron circulation history 2015-06-11 12:19:55 -03:00
offline_circ Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patron_lists Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patroncards Bug 13891: DataTables server-side processing - patron cards 2015-04-13 10:55:24 -03:00
plugins Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
reports Bug 14029: Provide 'clear' link to empty reports search filters 2015-06-11 13:08:53 -03:00
reserve Bug 13887: Display the due date as a due date + sort on info 2015-05-04 11:24:07 -03:00
reviews
rotating_collections Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
serials Bug 13662: Fix the serials.receive_serials permissions 2015-06-05 12:53:09 -03:00
services
sms
suggestion Bug 14074: Format 'suggested on' date in suggestion list correctly 2015-05-14 11:37:42 -03:00
tags
test Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
tools Bug 14070: Prevent to save a letter if an error occurred 2015-06-17 09:55:40 -03:00
virtualshelves Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
about.tt Bug 7143: Release team for 3.22 2015-05-27 12:44:15 -03:00
auth.tt
intranet-main.tt Bug 8007: Discharge - Glue 2015-04-30 12:33:53 -03:00