[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtigercrm-commits
Subject:    Re: [Vtigercrm-commits] [vtiger development] #5384: JavaScript
From:       "vtiger development" <vtiger-tickets () trac ! vtiger ! com>
Date:       2008-10-21 14:54:43
Message-ID: 053.2582a8b9ac60dd04b5011ac04d006017 () trac ! vtiger ! com
[Download RAW message or body]

#5384: JavaScript Calendars are buggy
------------------------+---------------------------------------------------
  Reporter:  elmue.gmx  |       Owner:  developer
      Type:  defect     |      Status:  new      
  Priority:  minor      |   Milestone:  5.1.0    
 Component:  vtigercrm  |     Version:  5.0.4    
Resolution:             |    Keywords:  Calendar 
------------------------+---------------------------------------------------
Comment (by elmue.gmx):

 Hello

 I fixed one of the two Java Script calendars now.
 First I checked the latest version of the JavaScript calendar which is
 1.0.
 http://sourceforge.net/project/downloading.php?groupname=jscalendar&filename=jscalendar-1.0.zip&use_mirror=ufpr


 But this still has the same bug.
 Incredible that this calendar exists since 2002 and nobody fixed this bug!

 The solution is simple:
 File: htdocs\vtiger\jscalendar\calendar.js
 Line: 1048

 Old code:

 {{{
 Calendar.prototype._init = function (firstDayOfWeek, date) {
         var today = new Date();
         this.table.style.visibility = "hidden";
 }}}

 New code:

 {{{
 Calendar.prototype._init = function (firstDayOfWeek, date) {
         date.setHours(12); // Bugfix: Required for daylight saving!!!
         var today = new Date();
         this.table.style.visibility = "hidden";
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5384#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM

_______________________________________________
vtigercrm-commits mailing list
vtigercrm-commits@lists.vtigercrm.com
http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic