diff options
author | Keith Wood <kbwood.au@gmail.com> | 2009-07-22 08:34:27 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2009-07-22 08:34:27 +0000 |
commit | d2bd01aecbd71920523dd08788211db037d5bccc (patch) | |
tree | 9f8253c3ca16e3b36a0a7f5e17a69b27e7b8a175 /ui | |
parent | 61e15b1f76e27596b41d95b2b18c5df7f9eaa89f (diff) | |
download | jquery-ui-d2bd01aecbd71920523dd08788211db037d5bccc.tar.gz jquery-ui-d2bd01aecbd71920523dd08788211db037d5bccc.zip |
Datepicker: Fixed #4684 Datepicker bug when textbox id contains '$'
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index a106ed291..b88460456 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -156,7 +156,7 @@ $.extend(Datepicker.prototype, { /* Create a new instance object. */ _newInst: function(target, inline) { - var id = target[0].id.replace(/([:\[\]\.])/g, '\\\\$1'); // escape jQuery meta chars + var id = target[0].id.replace(/([:\[\]\.\$])/g, '\\\\$1'); // escape jQuery meta chars return {id: id, input: target, // associated target selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection drawMonth: 0, drawYear: 0, // month being drawn |