diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-02-05 10:13:27 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-02-05 10:13:27 -0500 |
commit | 7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7 (patch) | |
tree | b427f41cd3c92d7ae539d36753de99e58240824a /ui/jquery.ui.datepicker.js | |
parent | 101a09d31f65ab62c7bc68e54aacd68028c1765b (diff) | |
download | jquery-ui-7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7.tar.gz jquery-ui-7a49ee4cd3a59a11e8c65cb1974481d86e2fd4d7.zip |
Datepicker: Use entity number instead of entity name when escaping single quotes.
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index b893f582d..efee7a819 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -1741,7 +1741,7 @@ $.extend(Datepicker.prototype, { (otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates (printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day (printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different) - ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "'") + "'" : "") + // cell title + ((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "'") + "'" : "") + // cell title (unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions (otherMonth && !showOtherMonths ? " " : // display for other months (unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" + |