@@ -, +, @@ --- koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js +++ a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/text-marc.js @@ -95,7 +95,8 @@ define( [ 'marc-record' ], function( MARC ) { } } ); - return errors.length ? { errors: errors } : record; + if( errors.length ) { record.errors = errors; } + return record; } }; } ); --