mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
FAS BCC-Mailversand mit ctrlKey
Wenn im FAS mit rechter Maustaste bei "E-Mail senden intern" die Strg-Taste gedrückt wird, werden die Mails mit BCC verschickt.
This commit is contained in:
@@ -73,7 +73,7 @@ else
|
||||
<popupset>
|
||||
<menupopup id="student-tree-popup" onpopupshown="">
|
||||
<menuitem label="Student aus dieser Gruppe entfernen" oncommand="StudentGruppeDel();" id="student-tree-popup-gruppedel" hidden="false"/>
|
||||
<menuitem label="EMail senden (intern)" oncommand="StudentSendMail();" id="student-tree-popup-mail" hidden="false"/>
|
||||
<menuitem label="EMail senden (intern)" oncommand="StudentSendMail(event);" id="student-tree-popup-mail" hidden="false" tooltiptext="STRG-Taste fuer BCC" />
|
||||
<menuitem label="EMail senden (privat)" oncommand="StudentSendMailPrivat();" id="student-tree-popup-mailprivat" hidden="false"/>
|
||||
<menuseparator />
|
||||
<menuitem label="Personendetails anzeigen" oncommand="StudentShowPersonendetails();" id="student-tree-popup-personendetails" hidden="false"/>
|
||||
|
||||
@@ -4987,7 +4987,7 @@ function StudentSearchFieldKeyPress(event)
|
||||
// ****
|
||||
// * Email an die markierten Studenten versenden
|
||||
// ****
|
||||
function StudentSendMail()
|
||||
function StudentSendMail(event)
|
||||
{
|
||||
mailempfaenger='';
|
||||
var tree=document.getElementById('student-tree');
|
||||
@@ -5018,7 +5018,12 @@ function StudentSendMail()
|
||||
if(anzfault!=0)
|
||||
alert(anzfault+' Student(en) konnten nicht hinzugefuegt werden weil keine UID eingetragen ist!');
|
||||
if(mailempfaenger!='')
|
||||
splitmailto(mailempfaenger,'to');
|
||||
{
|
||||
if (event.ctrlKey)
|
||||
splitmailto(mailempfaenger,'bcc');
|
||||
else
|
||||
splitmailto(mailempfaenger,'to');
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
|
||||
Reference in New Issue
Block a user