From 7d44c818050d81fde1301ab8e4b8d969b6161614 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 17 Jun 2010 10:38:47 +0000 Subject: [PATCH] fix/workaround for bug #2658 - Monthview navigation issue with Google Chrome (Linux 5.0.x beta) see http://code.google.com/p/chromium/issues/detail?id=43973 --- phpgwapi/js/jscalendar/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jscalendar/calendar.js b/phpgwapi/js/jscalendar/calendar.js index 591c09b2f8..a20caf641e 100644 --- a/phpgwapi/js/jscalendar/calendar.js +++ b/phpgwapi/js/jscalendar/calendar.js @@ -1100,7 +1100,7 @@ Calendar.prototype._init = function (firstDayOfWeek, date) { var day1 = (date.getDay() - this.firstDayOfWeek) % 7; if (day1 < 0) day1 += 7; - date.setDate(-day1); + date.setDate(0-day1); date.setDate(date.getDate() + 1); var row = this.tbody.firstChild;