[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kronolith
Subject:    Re: [kronolith] Disable JavaScript on the Server Side
From:       Chuck Hagenbuch <chuck () horde ! org>
Date:       2008-07-21 15:51:06
Message-ID: 20080721115106.12108em42ahr09rc () technest ! org
[Download RAW message or body]

Quoting Elliot Anders <elliot@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
-- 
Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic