summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-22 11:30:40 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-22 11:30:40 +0200
commit8c28aec664612c4deab7eb79acfe293a77839417 (patch)
tree7e4a66a025a533b11700fa2850edec738f90acda /apps
parentba2d203a543bdbf1c029b48485a59cb5e898d630 (diff)
downloadnextcloud-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.js2
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);