From 0e0715c6dcc40fba7d2a6e32364bc959fc29f552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 26 Dec 2016 13:09:21 +0100 Subject: [PATCH] Version 16.106.19 --- swad_changelog.h | 3 ++- swad_layout.c | 5 +---- swad_syllabus.c | 2 +- swad_user.c | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 10ffad17b..612d13db7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -188,13 +188,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.106.18 (2016-12-25)" +#define Log_PLATFORM_VERSION "SWAD 16.106.19 (2016-12-26)" #define CSS_FILE "swad16.106.5.css" #define JS_FILE "swad16.101.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.106.19:Dec 26, 2016 Changes in login form (autofocus). (211494 lines) Version 16.106.18:Dec 25, 2016 Changes in behaviour of labels in forms. (211496 lines) Version 16.106.17:Dec 25, 2016 Changes in behaviour of labels in forms. (211486 lines) Version 16.106.16:Dec 25, 2016 Changes in behaviour of labels in forms. (211473 lines) diff --git a/swad_layout.c b/swad_layout.c index 0f890f614..8fa749dd6 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -650,10 +650,7 @@ static void Lay_WriteScriptInit (void) Con_WriteScriptClockConnected (); // Put the focus on login form - fprintf (Gbl.F.Out," LoginForm = document.getElementById('UsrId');\n" - " if (LoginForm)\n" - " LoginForm.focus();\n" - " ActionAJAX = \"%s\";\n" + fprintf (Gbl.F.Out," ActionAJAX = \"%s\";\n" " setTimeout(\"refreshConnected()\",%lu);\n", Txt_STR_LANG_ID[Gbl.Prefs.Language], Gbl.Usrs.Connected.TimeToRefreshInMs); diff --git a/swad_syllabus.c b/swad_syllabus.c index 434410eba..567e906a2 100644 --- a/swad_syllabus.c +++ b/swad_syllabus.c @@ -945,7 +945,7 @@ static void Syl_PutFormItemSyllabus (bool NewItem,unsigned NumItem,int Level,int Syl_PutParamNumItem (NumItem); fprintf (Gbl.F.Out,"", diff --git a/swad_user.c b/swad_user.c index 1f4c138b4..10ceada6d 100644 --- a/swad_user.c +++ b/swad_user.c @@ -1905,7 +1905,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ()) "" + " autofocus=\"autofocus\" required=\"required\" />" "" "" ""