Widget:MattTest: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 78: | Line 78: | ||
onSelect: function(curDate, instance) { | onSelect: function(curDate, instance) { | ||
if(curDate != instance.lastVal) { | if(curDate != instance.lastVal) { | ||
screenUpdate(); | screenUpdate($("#eventDate").datepicker("getDate")); | ||
} | } | ||
} | } | ||
Line 813: | Line 813: | ||
} | } | ||
function screenUpdate(){ | function screenUpdate(date){ | ||
var event = | var event = date; | ||
var screenMin = new Date(event.getFullYear(),event.getMonth(),event.getDate()); | var screenMin = new Date(event.getFullYear(),event.getMonth(),event.getDate()); |