mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Unescape double escaped ids when handling events. Fixes #8480 - Datepicker 1.8.22 escaped id does not work.
This commit is contained in:
parent
485ca7192a
commit
30b579f598
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -1414,7 +1414,7 @@ $.extend(Datepicker.prototype, {
|
||||
*/
|
||||
_attachHandlers: function(inst) {
|
||||
var stepMonths = this._get(inst, 'stepMonths');
|
||||
var id = '#' + inst.id;
|
||||
var id = '#' + inst.id.replace( /\\\\/g, "\\" );
|
||||
inst.dpDiv.find('[data-handler]').map(function () {
|
||||
var handler = {
|
||||
prev: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user