aganov/calendar-view — Issue #2: Found and fixed bug with new jQuery 1.6+
Author: ghiscoding
Created: 2011-11-30 01:56:47+00:00
State: open

Since I'm using this calendar for a personal project and want to keep it and I've recently updated to the new jQuery 1.7 and it seems that code of this calendar is now broken. While clicking on the icon, it just wasn't refreshing the input anymore...

Again I debugged it and found the problem to be:

// the problematic line, this isn't supported somehow
(calendar.dateField.attr('tagName') == 'INPUT')

// need to be replaced by this
(calendar.dateField.get(0).tagName == 'INPUT')

Am the only one using this? No one ever reply here... anyways, hope it helps