From: Jan Schneider Date: Wed, 8 Apr 2009 20:44:31 +0000 (+0200) Subject: Don't load week view if on the same week. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fbe707875def6356dde1a21602c0e232e03c85f5;p=horde.git Don't load week view if on the same week. --- diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index 0c3b8d23c..640a80fcc 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -301,6 +301,7 @@ KronolithCore = { if (this.view == loc && date.getYear() == this.date.getYear() && ((loc == 'year') || (loc == 'month' && date.getMonth() == this.date.getMonth()) || + (loc == 'week' && date.getWeek() == this.date.getWeek()) || (loc == 'day' && date.dateString() == this.date.dateString()))) { return; }