Version 15.237.3

This commit is contained in:
Antonio Cañas Vargas 2016-07-01 13:19:08 +02:00
parent 3eec99be82
commit 5005f764fc
3 changed files with 8 additions and 14 deletions

View File

@ -1250,17 +1250,10 @@ function GetIfLeapYear (Year) {
}
/*****************************************************************************/
/*********** Copy message subject to form "Show more recipients" *************/
/****** Copy message subject and content to form "Show more recipients" ******/
/*****************************************************************************/
function CopySubjectToShowMoreRecipients () {
function CopyMessageToShowMoreRecipients () {
document.getElementById ('ShowMoreRecipientsSubject').value = document.getElementById ('MsgSubject').value;
}
/*****************************************************************************/
/*********** Copy message content to form "Show more recipients" *************/
/*****************************************************************************/
function CopyContentToShowMoreRecipients () {
document.getElementById ('ShowMoreRecipientsContent').value = document.getElementById ('MsgContent').value;
}

View File

@ -134,13 +134,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.237.2 (2016-07-01)"
#define Log_PLATFORM_VERSION "SWAD 15.237.3 (2016-07-01)"
#define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.237.js"
#define JS_FILE "swad15.237.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 15.237.3: Jul 01, 2015 Fixed bug in messages. (203257 lines)
Version 15.237.2: Jul 01, 2015 Fixed minor problem in textarea for message content. (203261 lines)
Version 15.237.1: Jul 01, 2015 Code refactoring in function to send e-mail to students. (203254 lines)
Version 15.237: Jul 01, 2015 The form "Show more recipients" now have a hidden field with the content. (203243 lines)

View File

@ -477,7 +477,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgSubject\" name=\"Subject\""
" cols=\"72\" rows=\"2\""
" onblur=\"CopySubjectToShowMoreRecipients();\">",
" onblur=\"CopyMessageToShowMoreRecipients();\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Subject);
@ -526,7 +526,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\""
" onblur=\"CopyContentToShowMoreRecipients();\">",
" onblur=\"CopyMessageToShowMoreRecipients();\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_MSG_Message);
/* Start textarea with a '\n', that will be not visible in textarea.
@ -557,7 +557,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\""
" onblur=\"CopyContentToShowMoreRecipients();\">",
" onblur=\"CopyMessageToShowMoreRecipients();\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Message);