igorsoaresassis / jmonthcalendar

Automatically exported from code.google.com/p/jmonthcalendar
Other
0 stars 0 forks source link

onDayCellClick returns rong date #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On a cell click the event returns the wrong date!

Original issue reported on code.google.com by claudioj...@gmail.com on 27 Jul 2009 at 4:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This was already fixed in a previous issue, I believe.

Original comment by insolen...@gmail.com on 27 Jul 2009 at 10:35

GoogleCodeExporter commented 8 years ago
no, it is not.
actually it returns the very last date rendered.

Original comment by egidi...@gmail.com on 5 Aug 2009 at 6:56

GoogleCodeExporter commented 8 years ago
a workaround you may use:
http://code.google.com/p/jmonthcalendar/issues/detail?can=2&q=&colspec=ID%20Type
%20Status%20Priority%20Milestone%20Owner%20Summary&sort=&id=17#c5

Original comment by egidi...@gmail.com on 5 Aug 2009 at 7:59

GoogleCodeExporter commented 8 years ago
This has been fixed.  Your event that you configure should now look like this:

onDayCellDblClick: function(event) {
    alert(event.data.Date);
},

Original comment by k.leneau@gmail.com on 8 Apr 2010 at 7:15