[Kss-devel] fix logging in Safari for kukit-devel.js in plone

Gerhard Weis gweis at gmx.at
Fri Jul 24 04:41:48 CEST 2009


Hi,

The current browser detection for the logging does not work as expected 
in Safari 4.
As Safari 4 provides all necessary methods on the console object, the 
variable kukit.hasFirebug is set to true and the logging code fails 
badly with an exception in Safari 4.

The attached patch adds an additional test whether the browser is WebKit 
based to kukit.hasFired.

The patch is against kss.core 1.4 branch. (whatever external it pulls in 
for kukit)

cheers,

Gerhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_safari_logging.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
Url : http://codespeak.net/pipermail/kss-devel/attachments/20090724/f6fc5cff/attachment.bin 


More information about the Kss-devel mailing list