[kronolith] Selected calendars cached when changing month/week/etc.

Chris St. Pierre stpierre at NebrWesleyan.edu
Thu Jan 22 14:34:49 UTC 2009


http://bugs.horde.org/ticket/7879

I dug through the code, but I'm afraid I don't have the JavaScript
skills to generate a patch (or even understand much of what's going on
in the code).  I still run Web 1.0. :)

Thanks!

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

On Wed, 21 Jan 2009, Chuck Hagenbuch wrote:

> Quoting "Chris St. Pierre" <stpierre at NebrWesleyan.edu>:
>
>> My users have encountered a problem I'm surprised to find nothing on
>> when searching the archives.  (I may be using the wrong keywords.)
>> 
>> Let's say a user has two calendars, "Calendar One" and "Calendar Two."
>> They view the current month, January, in Calendar One, and then change
>> to February.  Then they deselect Calendar One and select Calendar Two,
>> but, upon changing back to January, Calendar One is shown but Calendar
>> Two is still selected in the "Calendars" pane.
>> 
>> It's almost as if the views are being cached, but clearing the browser
>> cache does not change the behavior.  I've replicated this on a number
>> of browsers, including Firefox on the Mac and on Linux.  It appears to
>> happen with all of the views, Day through Year, not just Month.
>
> If you look at kronolith/js/src/views.js, you'll see that there is a cache in 
> the ShowView function. We need to invalidate it when the selected calendars 
> change. Can you please create a ticket on bugs.horde.org to track this? If 
> that's a good enough explanation for you to dig into it, a patch would be even 
> better.
>
> -chuck
> --
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org


More information about the kronolith mailing list