Search and Top Navigation
#6154 closed bug (fixed)
Opened October 06, 2010 07:09AM UTC
Closed October 06, 2010 12:38PM UTC
Last modified November 19, 2010 06:26PM UTC
Datepicker brokes handler ids with dashes
Reported by: | m157y | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.6 |
Component: | ui.datepicker | Version: | 1.8.5 |
Keywords: | dash, meta, escape | Cc: | |
Blocked by: | Blocking: |
Description
If we attach Datepicker to div/input with dashes in id, e.g. ''Something-For-Example'', it'll be replaced to ''Something\\\\\\\\-For\\\\\\\\-Example'' and in result it'll be broken for some next actions or additions via event functions, e.g. ''beforeShow''.
Commited to GitHub: http://github.com/m157y/jquery-ui/blob/17fabc706e66e52ac7c1ea189c3c8e2a1c4c2772/ui/jquery.ui.datepicker.js