Skip to main content

Search and Top Navigation

#1945 closed bug (wontfix)

Opened November 19, 2007 12:37PM UTC

Closed January 07, 2008 04:25AM UTC

Last modified May 24, 2008 03:39AM UTC

UI Datepicker

Reported by: jacques Owned by: iMarc
Priority: blocker Milestone:
Component: ui.core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hi when I follow the example from http://marcgrabanski.com/code/ui-datepicker/ (date range tab)

$('.dateRange').datepicker({beforeShow: customRange});

// Customize two date pickers to work as a date range

function customRange(input) {

return {minDate: (input.id == 'dTo' ? getDate($('#dFrom').val()) : null),

maxDate: (input.id == 'dFrom' ? getDate($('#dTo').val()) : null)};

}

I have an error : "getDate is not defined". Error appears in IE and Firefox

Please advise on how to fix.

Thanks

Jacques

Attachments (0)
Change History (4)

Changed November 19, 2007 01:45PM UTC by paul comment:1

owner: → iMarc

Changed November 21, 2007 01:11AM UTC by kbwood comment:2

This function is defined in the ui.datepicker.demo.js file referenced on that page.

Changed January 07, 2008 04:25AM UTC by kbwood comment:3

resolution: → wontfix
status: newclosed

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.2

Milestone 1.2.2 deleted