mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Deleted z-index style on hidden input. Fixed #7449 - Datepicker dialog has a negative z-index.
(cherry picked from commit cb44dc6c28
)
This commit is contained in:
parent
347aa335f0
commit
fa5e7c17a8
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -308,7 +308,7 @@ $.extend(Datepicker.prototype, {
|
|||||||
this.uuid += 1;
|
this.uuid += 1;
|
||||||
var id = 'dp' + this.uuid;
|
var id = 'dp' + this.uuid;
|
||||||
this._dialogInput = $('<input type="text" id="' + id +
|
this._dialogInput = $('<input type="text" id="' + id +
|
||||||
'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');
|
'" style="position: absolute; top: -100px; width: 0px;"/>');
|
||||||
this._dialogInput.keydown(this._doKeyDown);
|
this._dialogInput.keydown(this._doKeyDown);
|
||||||
$('body').append(this._dialogInput);
|
$('body').append(this._dialogInput);
|
||||||
inst = this._dialogInst = this._newInst(this._dialogInput, false);
|
inst = this._dialogInst = this._newInst(this._dialogInput, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user