This commit is contained in:
Luca Trupiano 2025-01-30 18:22:42 +01:00
commit ec155a9726
1 changed files with 7 additions and 7 deletions

View File

@ -925,7 +925,7 @@ $(document).ready(function() {
}
drawMinimap("#" + minimapid, false)
/*console.log (commentsSQL)*/
console.log (commentsSQL)
}
@ -1056,14 +1056,14 @@ $(document).ready(function() {
if (comments.RapportoCommentoCommentatoreText != null && comments.RapportoCommentoCommentatoreText != "nan") {
createModuleCommentatore(collapseCardBody, comments.RapportoCommentoCommentatoreText, "5", id, pos)
}
if (comments.frammentoNota != null && comments.frammentoNota != "nan" && comments.annotazione != null && comments.annotazione != "nan") {
createModuleFrammAnnot(collapseCardBody, removeHtmlTags(comments.frammentoNota), removeHtmlTags(comments.annotazione), "6", id, pos)
if (comments.frammentoNota != null && comments.frammentoNota != "nan" && comments.Annotazione != null && comments.Annotazione != "nan") {
createModuleFrammAnnot(collapseCardBody, removeHtmlTags(comments.frammentoNota), removeHtmlTags(comments.Annotazione), "6", id, pos)
} else {
if (comments.frammentoNota != null && comments.frammentoNota != "nan") {
createModule(collapseCardBody, "Nota: ", removeHtmlTags(comments.frammentoNota), "6", id, pos)
}
if (comments.annotazione != null && comments.annotazione != "nan") {
createModule(collapseCardBody, "Nota completa: ", removeHtmlTags(comments.annotazione), "7", id, pos)
if (comments.Annotazione != null && comments.Annotazione != "nan") {
createModule(collapseCardBody, "Nota completa: ", removeHtmlTags(comments.Annotazione), "7", id, pos)
}
}
if (comments.NotaFonteCitazione != null && comments.NotaFonteCitazione != "nan" && comments.NotaFonteCitazione != "") {
@ -1128,8 +1128,8 @@ $(document).ready(function() {
collapseButton.appendTo(buttons);
//closeButton.appendTo(buttons);
if (comments.commentario != null) {
rigaNota.append('<b>Commentatore:</b> <i>' + comments.commentario + '</i><br>');
if (comments.Commentario != null) {
rigaNota.append('<b>Commentatore:</b> <i>' + comments.Commentario + '</i><br>');
}