Fix Chrome JavaScript bug in the pop up calendar. #5769
Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3822 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c6201ae15b
commit
5a17b5ba39
|
@ -1105,7 +1105,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;
|
||||
|
|
Loading…
Reference in New Issue