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.
(cherry picked from commit 30b579f598
)
This commit is contained in:
parent
25f20b18bd
commit
b92965a781
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -1408,7 +1408,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