Bug 23045: Return record along with errors
authorNick Clemens <nick@bywatersolutions.com>
Fri, 7 Jun 2019 10:14:36 +0000 (10:14 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 25 Jul 2019 12:03:44 +0000 (14:03 +0200)
commit1e2dc2340105b35355d29ad5eda1d74a83375a4e
treebe698e3cd3cdf657e30764711ee838d73a21c7af
parent2340df6f7c85c48a2ae68292204e9f16d485e7b9
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>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js