when sending a mail and pressing addressbook, a popup windows appears and you select who you want to (or cc) the mail. The javascript was buggy, change it to :
function ExchangeTo(thisform)
{
if (opener.document.doit.to.value=='')
{opener.document.doit.to.value=thisform.elements[0].value;}
else {opener.document.doit.to.value+=", "+thisform.elements[0].value;}
}
function ExchangeCc(thisform)
{if (opener.document.doit.cc.value=='')
{opener.document.doit.cc.value=thisform.elements[0].value;}
else {opener.document.doit.cc.value+=", "+thisform.elements[0].value;}
}
and don't forget to add
line 167 (with modfis above) </form> to close the form, unless only the first email can be added to the list
and line 173 <form> (for the cloise button!)
Bye,
vinz
PS : when will you release the next version of webdistro (or maybe PhpGroupWare at this time !!)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi !
when sending a mail and pressing addressbook, a popup windows appears and you select who you want to (or cc) the mail. The javascript was buggy, change it to :
function ExchangeTo(thisform)
{
if (opener.document.doit.to.value=='')
{opener.document.doit.to.value=thisform.elements[0].value;}
else {opener.document.doit.to.value+=", "+thisform.elements[0].value;}
}
function ExchangeCc(thisform)
{if (opener.document.doit.cc.value=='')
{opener.document.doit.cc.value=thisform.elements[0].value;}
else {opener.document.doit.cc.value+=", "+thisform.elements[0].value;}
}
and don't forget to add
line 167 (with modfis above) </form> to close the form, unless only the first email can be added to the list
and line 173 <form> (for the cloise button!)
Bye,
vinz
PS : when will you release the next version of webdistro (or maybe PhpGroupWare at this time !!)