Skip to main content

Search and Top Navigation

#4996 closed bug (wontfix)

Opened December 07, 2009 06:52PM UTC

Closed December 08, 2009 04:39AM UTC

Last modified October 11, 2012 09:15PM UTC

datepicker: beforeShowDay class applies to TD and child A overrides it

Reported by: dmfontz Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

when applying a class via the beforeShowDay option, the class is applied to the TD for the given day. However, there is an A element inside the TD that also has a class of ui-state-default. The class on the A element prevents styling (eg. backgrounds) from showing properly.

Attachments (0)
Change History (2)

Changed December 08, 2009 04:39AM UTC by kbwood comment:1

resolution: → wontfix
status: newclosed

You can override the embedded A's styles too (it may need to be qualified by the datepicker ID or class):

.customClass a { background: transparent; }

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted