Version 16.211.2

This commit is contained in:
Antonio Cañas Vargas 2017-05-11 15:13:49 +02:00
parent efae4f019e
commit cb1bb78847
2 changed files with 4 additions and 8 deletions

View File

@ -231,19 +231,18 @@
// TODO: Al listar administradores, debería estar marcado por defecto "Incluir fotos"
// TODO: Al crear una nueva asignatura, falta el botón "Ir a <nombre-asignatura>"
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.211.1 (2017-05-10)"
#define Log_PLATFORM_VERSION "SWAD 16.211.2 (2017-05-10)"
#define CSS_FILE "swad16.209.3.css"
#define JS_FILE "swad16.206.3.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.211.2: May 11, 2017 Fixed bug in alerts. (218879 lines)
Version 16.211.1: May 11, 2017 Change in layout of forms to edit groups. (218882 lines)
Version 16.211: May 10, 2017 Code refactoring related to alerts. (218879 lines)
Version 16.210: May 10, 2017 Changes in layout of records. (218869 lines)

View File

@ -1670,14 +1670,11 @@ void Lay_ShowPendingAlert (void)
{
/***** Anything to show? *****/
if (Gbl.Alert.Type != Lay_NONE)
{
/***** Show alert *****/
Lay_ShowAlert (Gbl.Alert.Type,Gbl.Alert.Txt);
/***** Avoid writing twice the same alert if called more than once *****/
Gbl.Alert.Type = Lay_NONE;
Gbl.Alert.Txt[0] = '\0';
}
// Do not be tempted to restore the value of Gbl.Alert.Type to Lay_NONE here,
// since it can still be used after calling this function.
}
/*****************************************************************************/