Aleksander Machniak
2016-02-29 74a7dd553c2780315684551268f62b1fd2efc35f
Fix datepicker so it is possible to re-open the calendar widget by click (Kolab 5115)
2 files modified
8 ■■■■ changed files
plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js 4 ●●● patch | view | raw | blame | history
plugins/jqueryui/js/jquery-ui-accessible-datepicker.js 4 ●●● patch | view | raw | blame | history
plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js
@@ -143,6 +143,8 @@
                    }
            }
        })
        // fix https://bugs.jqueryui.com/ticket/8593
        .click(function (event) { that._showDatepicker(event); })
        .attr('autocomplete', 'off');
    },
@@ -192,7 +194,7 @@
    _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');
plugins/jqueryui/js/jquery-ui-accessible-datepicker.js
@@ -128,6 +128,8 @@
                    }
            }
        })
        // fix https://bugs.jqueryui.com/ticket/8593
        .click(function (event) { that._showDatepicker(event); })
        .attr('autocomplete', 'off');
    },
@@ -177,7 +179,7 @@
    _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');