Skip to content

Commit

Permalink
Merge pull request #139 from acdh-oeaw/bugfix/reset-raw-xml
Browse files Browse the repository at this point in the history
reset raw xml content
  • Loading branch information
gythaogg authored Sep 30, 2024
2 parents 6213934 + e2e9cf8 commit fb5b3b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis_ontology/static/scripts/show_popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function showPopup(recordId, renderStyle) {
// show 404 error if the respose is 404
if (teidata.includes("Page not found")) {
document.getElementById("popupContent").innerHTML = "Excerpt Not Found";
document.getElementById("rawTEI").innerText = "";
document.getElementById('popupModal').style.display = 'block';
return;
}
Expand Down

0 comments on commit fb5b3b8

Please sign in to comment.