[kronolith] Disable JavaScript on the Server Side
Chuck Hagenbuch
chuck at horde.org
Mon Jul 21 15:51:06 UTC 2008
Quoting Elliot Anders <elliot at marlboro.edu>:
> Hi all,
> is there any way to disable Kronolith's Javascript features
> (movement between calendar views, panel, etc.) in a server-side pref?
>
> I'm attempting to include a kronolith calendar within an iframe and
> it appears that the javascript gets confused. The first page shows
> just fine but if you try to venture to any other views or
> disable/enable calendars it spits out an error, something like:
> Value undefined (result of expression C.viewportOffset) is not
> object. From poking a bit it looks like this is a result of the
> script having trouble figuring out the DOM since it's in an iframe.
There's no single switch, but you can try having showView in
kronolith/js/views.js be a no-op.
-chuck
More information about the kronolith
mailing list