diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 11:30:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-22 11:30:40 +0200 |
commit | 8c28aec664612c4deab7eb79acfe293a77839417 (patch) | |
tree | 7e4a66a025a533b11700fa2850edec738f90acda /apps | |
parent | ba2d203a543bdbf1c029b48485a59cb5e898d630 (diff) | |
download | nextcloud-server-8c28aec664612c4deab7eb79acfe293a77839417.tar.gz nextcloud-server-8c28aec664612c4deab7eb79acfe293a77839417.zip |
date don't change correctly in the view list (bug #973) fixed
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/js/calendar.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index f8ab2fe4bde..e17f88e38be 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -705,10 +705,12 @@ function ListView(element, calendar) { if (delta) { if (delta < 0){ addDays(t.start, -7); + addDays(t.end, -7); if (!opt('weekends')) { skipWeekend(t.start, delta < 0 ? -1 : 1); } }else{ + addDays(t.start, 7); addDays(t.end, 7); if (!opt('weekends')) { skipWeekend(t.end, delta < 0 ? -1 : 1); |