mirror of https://github.com/acanas/swad-core.git
Version 16.106.19
This commit is contained in:
parent
18eef5f630
commit
0e0715c6dc
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -945,7 +945,7 @@ static void Syl_PutFormItemSyllabus (bool NewItem,unsigned NumItem,int Level,int
|
|||
Syl_PutParamNumItem (NumItem);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Txt\"");
|
||||
if (NewItem)
|
||||
fprintf (Gbl.F.Out," autofocus");
|
||||
fprintf (Gbl.F.Out," autofocus=\"autofocus\"");
|
||||
fprintf (Gbl.F.Out," size=\"80\" maxlength=\"%u\" value=\"%s\""
|
||||
" placeholder=\"%s\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
|
|
@ -1905,7 +1905,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ())
|
|||
"<input type=\"text\" id=\"UsrId\" name=\"UsrId\""
|
||||
" size=\"18\" maxlength=\"%u\""
|
||||
" placeholder=\"%s\" value=\"%s\""
|
||||
" required=\"required\" />"
|
||||
" autofocus=\"autofocus\" required=\"required\" />"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
|
|
Loading…
Reference in New Issue