[Tickets #5241] newChoice function broken
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Apr 11 13:29:02 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5241
-----------------------------------------------------------------------
Ticket | 5241
Created By | vincent.vinet at revolutionlinux.com
Summary | newChoice function broken
Queue | Kronolith
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
+New Attachment | calendars.inc.patch
-----------------------------------------------------------------------
vincent.vinet at revolutionlinux.com (2007-04-11 06:29) wrote:
In the Calendar Management screen,
the newChoice function is broken by JavaScript that does not compile.
the two lines like this:
urlObj.innerHTML = '<em><?php echo _("Select a calendar above to display
the URL") ?></em>';
break when gettext returns a string containing a single quote, i.e. in the
fr_FR translation
Also, </em> throws a warning as to html validation, because the "/" must
be escaped ("<\/em>")
I do not know if this is an ideal solution, as it would now break with
double quotes.
More information about the bugs
mailing list