diff --git a/swad_HTML.c b/swad_HTML.c
index f4d35d13d..fca994761 100644
--- a/swad_HTML.c
+++ b/swad_HTML.c
@@ -863,7 +863,7 @@ void HTM_SCRIPT_Begin (const char *URL,const char *CharSet)
if (CharSet)
if (CharSet[0])
fprintf (Gbl.F.Out," charset=\"%s\"",CharSet);
- fprintf (Gbl.F.Out,">");
+ fprintf (Gbl.F.Out,">\n");
HTM_SCRIPT_NestingLevel++;
}
@@ -873,7 +873,7 @@ void HTM_SCRIPT_End (void)
if (HTM_SCRIPT_NestingLevel == 0) // No SCRIPT open
Ale_ShowAlert (Ale_ERROR,"Trying to close unopened SCRIPT.");
- fprintf (Gbl.F.Out,"");
+ fprintf (Gbl.F.Out,"\n");
HTM_SCRIPT_NestingLevel--;
}
diff --git a/swad_changelog.h b/swad_changelog.h
index 0853550ed..5dcedf2e0 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -487,7 +487,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
-#define Log_PLATFORM_VERSION "SWAD 19.65.1 (2019-11-12)"
+#define Log_PLATFORM_VERSION "SWAD 19.65.2 (2019-11-12)"
#define CSS_FILE "swad19.47.css"
#define JS_FILE "swad19.65.js"
/*
@@ -495,7 +495,9 @@ ps2pdf source.ps destination.pdf
// TODO: Impedir la creación y edición de proyectos si no son editables.
// TODO: Importante: filtrar proyectos por usuarios (igual que en trabajos o en asistencia)
// TODO: Code refactoring in HTML h1, title, meta, video, p, iframe, input hidden, area
+// TODO: Corregir bug: no se ven los DNI de los alumnos al listar los trabajos
+ Version 19.65.2: Nov 12, 2019 Fixed bug in JavaScript. (246454 lines)
Version 19.65.1: Nov 12, 2019 Fixed bug in degree configuration. (246452 lines)
Version 19.65: Nov 12, 2019 Changes in selection of users in timeline. (246451 lines)
4 changes necessary in database:
diff --git a/swad_layout.c b/swad_layout.c
index 55b895de8..7ac962852 100644
--- a/swad_layout.c
+++ b/swad_layout.c
@@ -547,7 +547,7 @@ static void Lay_WriteScripts (void)
Gbl.Hlds.Lst[NumHld].EndDate.YYYYMMDD,
Gbl.Hlds.Lst[NumHld].Name);
- HTM_TxtF ("\var LstExamAnnouncements = [];\n");
+ HTM_TxtF ("\tvar LstExamAnnouncements = [];\n");
for (NumExamAnnouncement = 0;
NumExamAnnouncement < Gbl.ExamAnns.NumExaAnns;
NumExamAnnouncement++)