Bug 23045: Return record along with errors
authorNick Clemens <nick@bywatersolutions.com>
Fri, 7 Jun 2019 10:14:36 +0000 (10:14 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Jul 2019 13:52:38 +0000 (14:52 +0100)
commitf927d801121f9d7b291516649cf3b55be49b8e3d
tree5d501e968377b5414bd5bd0df9264f22fef8a548
parent545f38d13c210e4cb173e67d2578d825a9ffeb47
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>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js