phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[phpGroupWare-users] email addybook popup and changes to selectboxes.js


From: hj . pallesen
Subject: [phpGroupWare-users] email addybook popup and changes to selectboxes.js
Date: Sat, 28 Oct 2006 13:15:42 -0700 (MST)


I have described this problem, that using javascript for addressbook style, 
there is the problem using alternative languages, that a name transfered from 
the "toselectbox" in the addressbook GUI back to the email api "to field", is 
not rendered correctly when non english characters are displayed.
And if the "addybook" is called again with the name still in the email to 
field, then on return that name is even further scrambled.

I have tried on line 820 of selectboxes.js to replace some code

//parser.add_entry(appendmailstring("","",names[k],emails[k]));
parser.add_entry(appendmailstring("","",selectbox.options k].text,emails[k]));


That actually helps so that the name from the toselectbox is returned intact.

But when I let that name stay in the email to field and call the addressbook 
again, then that name now shows up with scrambled characters in the toselectbox.

It is difficult and timeconsuming walking through other peoples code, but I 
have spent some time with this, because I find it annoying. Maybe someone with 
more insight could pinpoint what else has to be changed in the source code.Sent 
from the phpGroupWare forums @ http://forums.phpGroupWare.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]