diff --git a/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js index 73248ecac..209bcda9a 100755 --- a/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js +++ b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js @@ -143,6 +143,8 @@ $.extend($.datepicker, { } } }) + // fix https://bugs.jqueryui.com/ticket/8593 + .click(function (event) { that._showDatepicker(event); }) .attr('autocomplete', 'off'); }, @@ -192,7 +194,7 @@ $.extend($.datepicker, { _hideDatepicker: function(input) { __hideDatepicker.call(this, input); - var inst = this._curInst;; + var inst = this._curInst; if (inst && !$.datepicker._datepickerShowing) { inst.dpDiv.attr('aria-hidden', 'true'); $(inst.input).attr('aria-expanded', 'false'); diff --git a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js index ef7561c7b..38e99e85a 100644 --- a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js +++ b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js @@ -128,6 +128,8 @@ $.extend($.datepicker, { } } }) + // fix https://bugs.jqueryui.com/ticket/8593 + .click(function (event) { that._showDatepicker(event); }) .attr('autocomplete', 'off'); }, @@ -177,7 +179,7 @@ $.extend($.datepicker, { _hideDatepicker: function(input) { __hideDatepicker.call(this, input); - var inst = this._curInst;; + var inst = this._curInst; if (inst && !$.datepicker._datepickerShowing) { inst.dpDiv.attr('aria-hidden', 'true'); $(inst.input).attr('aria-expanded', 'false');