diff --git a/ChangeLog b/ChangeLog index b786d80ab..266662b09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Francis Lachapelle + + * UI/Contacts/UIxContactView.m (_cardStringWithLabel:value:): + remove useless carriage returns to avoid JavaScript errors in IE7. + 2011-03-30 Wolfgang Sourdeau * UI/MailerUI/UIxMailFolderActions.m (-copyMessagesAction) diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index a2191cf1b..ba7360a9d 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -1,6 +1,6 @@ /* Copyright (C) 2004 SKYRIX Software AG - Copyright (C) 2005-2010 Inverse inc. + Copyright (C) 2005-2011 Inverse inc. This file is part of SOGo. @@ -64,6 +64,7 @@ NSMutableString *cardString; cardString = [NSMutableString stringWithCapacity: 80]; + value = [value stringByReplacingString: @"\r" withString: @""]; if ([value length] > 0) { if (label)