Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker broke…

…s handler ids with dashes
  • Loading branch information...
commit 66346d04bfa4e9a80ae25a670ea06d9ea7a48e4d 1 parent 7da6624
Andrey authored October 06, 2010 scottgonzalez committed October 06, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ui/jquery.ui.datepicker.js
2  ui/jquery.ui.datepicker.js
@@ -167,7 +167,7 @@ $.extend(Datepicker.prototype, {
167 167
 
168 168
 	/* Create a new instance object. */
169 169
 	_newInst: function(target, inline) {
170  
-		var id = target[0].id.replace(/([^A-Za-z0-9_])/g, '\\\\$1'); // escape jQuery meta chars
  170
+		var id = target[0].id.replace(/([^A-Za-z0-9_-])/g, '\\\\$1'); // escape jQuery meta chars
171 171
 		return {id: id, input: target, // associated target
172 172
 			selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
173 173
 			drawMonth: 0, drawYear: 0, // month being drawn

0 notes on commit 66346d0

Please sign in to comment.
Something went wrong with that request. Please try again.