several changes

This commit is contained in:
naielv
2025-09-09 21:34:27 +02:00
parent 4f3d16326c
commit b069f7db61
6 changed files with 48 additions and 55 deletions

View File

@@ -23,7 +23,7 @@ PAGES.notas = {
Asunto<br>
<input type="text" id="${field_asunto}" value=""><br><br>
</label>
<input type="hidden" id="${field_autor}" value="${SUB_LOGGED_IN_ID || ""}">
<input type="hidden" id="${field_autor}" value="">
<div id="${div_actions}"></div>
</div>
<label>
@@ -55,7 +55,7 @@ PAGES.notas = {
document.getElementById(field_asunto).value = data["Asunto"] || "";
document.getElementById(field_contenido).value =
data["Contenido"] || "";
document.getElementById(field_autor).value = data["Autor"] || "";
document.getElementById(field_autor).value = data["Autor"] || SUB_LOGGED_IN_ID || "";
// Persona select
divact.innerHTML = "";