Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: Problem with jQuery datepicker

Problem with jQuery datepicker 14 years 11 months ago #207

  • juanchib
  • juanchib's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
I'm using a jQuery datepicker to create a new a event, and when I click "<" to go to the previous month it moves foward, any idea? thanks!

Please Log in to join the conversation.

Re: Problem with jQuery datepicker 14 years 11 months ago #211

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Hmmm. We could not reproduce this bug. Can you please provide more information like
1. Browser
2. Timezone
3. Any particular month this is happening? or it happens in general?
4. Is it consistently wrong? or just shows up every now and then?

Please Log in to join the conversation.


Team Web2Cal.

Re: Problem with jQuery datepicker 14 years 11 months ago #213

  • vnehess
  • vnehess's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I am also seeing this issue, it occurs in Firefox 3.5.4 and safari 4.0.3

to reproduce

open calendar, click on an open space,
opens the non-popup new calendar event dialog
move to the event date , click

up pops the calendar picker
click on month name , goes to next month OK
click on right arrow , goes to next month OK

click on the left arrow, goes to next month << NOT OK


thanks,

Please Log in to join the conversation.

Re: Problem with jQuery datepicker 14 years 11 months ago #215

  • ragskarnam
  • ragskarnam's Avatar
  • Visitor
  • Visitor
The fix for this issue is very simple

add class="datepickerGoPrev" to the TH which contains <a href="#" class="prevButton "><span><%=prev%></span></a> in dateselector.js file.

For your convenience, I have pasted the entire line 16 from dateselector.js
head: ['<td>', '<table cellspacing="0" width="100%"  cellpadding="0">', '<thead>', '<tr class="weekrow">', '<th width="15" class="datepickerGoPrev"><a href="#" class="prevButton "><span><%=prev%></span></a></th>', '<th colspan="5" class="datepickerMonth"><a href="#"><span></span></a></th>', '<th width="15" align="right"><a href="#" class="nextButton"><span><%=next%></span></a></th>', '</tr>', '<tr class="datepickerDoW">', '<th class="datepickerweekheader"><span><%=week%></span></th>', '<th><span><%=day1%></span></th>', '<th><span><%=day2%></span></th>', '<th><span><%=day3%></span></th>', '<th><span><%=day4%></span></th>', '<th><span><%=day5%></span></th>', '<th><span><%=day6%></span></th>', '<th><span><%=day7%></span></th>', '</tr>', '</thead>', '</table></td>'],

Good luck!

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.054 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US