[Obm] bug ajax/js

SamSam euridyce.orfeo at gmail.com
Mon May 4 10:22:55 CEST 2009


Bonjour,

Un bug empêche l'affichage des calendriers lorsque le nom d'un des
calendriers affichés comporte un apostrophe.

Correction :
--- calendar/calendar_display.inc.org    2009-05-04 10:19:54.000000000 +0200
+++ calendar/calendar_display.inc    2009-05-04 10:20:00.000000000 +0200
@@ -1305,7 +1305,7 @@

   $event = $occurrence->event;
   $owner = $event->owner;
-  $owner_name = $event->owner_name;
+  $owner_name = phpStringToJsString($event->owner_name);

   if ($owner == $obm['uid'] || in_array($owner,$writable_entity['ids'])) {
     $updatable =  true;

Sylvain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.list.aliasource.fr/pipermail/obm/attachments/20090504/62ba422e/attachment.htm


More information about the Obm mailing list