Bug 23045: Return record along with errors
authorNick Clemens <nick@bywatersolutions.com>
Fri, 7 Jun 2019 10:14:36 +0000 (10:14 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 26 Jul 2019 03:07:08 +0000 (03:07 +0000)
commitb78fc7961d3228df8b93af21cc9fcc2ad386fbd4
treeeba40eb2a5b99c80d859048d48f75915aa94acd6
parent8b3e00174b2ef5643e559873fb4215b9e3fec29a
Bug 23045: Return record along with errors

We don't seem to directly handle the errors in most cases, let's always return the record

To test:
1 - Add some blank lines to editor, previous patch is okay with this
2 - Add a line with just 'e' or some other incomplete field
3 - Try to save
4 - Note JS leader error
5 - Apply this patch
6 - No errors

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f927d801121f9d7b291516649cf3b55be49b8e3d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1e2dc2340105b35355d29ad5eda1d74a83375a4e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js