mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
handle problem experienced with sending, when previously saved as draft manually; make sure we reset the saveAsDraft hidden value
This commit is contained in:
parent
80b0765fb5
commit
0ab1bbac8d
@ -784,6 +784,7 @@ function fm_compose_sendEMail() {
|
||||
if(addressSet == true && subjectSet == true && doubleCheck == false) {
|
||||
// if we submit the form, we do not want to execute the onunload stuff
|
||||
justSavedAsDraftManually = false;
|
||||
document.getElementById('saveAsDraft').value=0;
|
||||
do_onunload=false;
|
||||
document.doit.submit();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user