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:32:57 +0200 |
commit | 65c14e21ce0ff355366c126debcf88480959a0da (patch) | |
tree | 8ab0e3c995beee54d87e9700522a0433ff3df3c9 | |
parent | e5d458c0683acb409083a0e3f1baa4698ececda6 (diff) | |
download | nextcloud-server-65c14e21ce0ff355366c126debcf88480959a0da.tar.gz nextcloud-server-65c14e21ce0ff355366c126debcf88480959a0da.zip |
date don't change correctly in the view list (bug #973) fixed
-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 bc012a68c4b..b05a33360a4 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -661,10 +661,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); |