Lines 108-114
define( [ '/cgi-bin/koha/svc/cataloguing/framework?frameworkcode=&callback=defin
Link Here
|
108 |
'/cgi-bin/koha/svc/bib/'+ id |
108 |
'/cgi-bin/koha/svc/bib/'+ id |
109 |
).done( function( metadata, status, xhr ) { |
109 |
).done( function( metadata, status, xhr ) { |
110 |
let encoding_issues = xhr.getResponseHeader('invalid-metadata'); |
110 |
let encoding_issues = xhr.getResponseHeader('invalid-metadata'); |
111 |
if( encoding_issues ){ |
111 |
if( encoding_issues > 0 ){ |
112 |
humanMsg.displayAlert( _("Record had encoding issues, please switch to the basic editor to view details") ); |
112 |
humanMsg.displayAlert( _("Record had encoding issues, please switch to the basic editor to view details") ); |
113 |
} |
113 |
} |
114 |
$.get( |
114 |
$.get( |