From 6b4f10e28cd86532616c0667314651d69452a001 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 23 Oct 2023 10:54:33 +0100 Subject: [PATCH] Bug 35119: (follow-up) Adapt advanced editor message I'd love to have included the error details within the message popup, but that alluded me so this patch just updates the message to hint that details can be seen on the basic editor screen. Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js index 934c7fb4f4b..3a73bc11312 100644 --- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js +++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js @@ -109,7 +109,7 @@ define( [ '/cgi-bin/koha/svc/cataloguing/framework?frameworkcode=&callback=defin ).done( function( metadata, status, xhr ) { let encoding_issues = xhr.getResponseHeader('invalid-metadata'); if( encoding_issues ){ - humanMsg.displayAlert( _("Record had encoding issues, please see logs") ); + humanMsg.displayAlert( _("Record had encoding issues, please switch to the basic editor to view details") ); } $.get( '/cgi-bin/koha/svc/bib_framework/' + id -- 2.41.0