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:
Maciej Mroziński 2012-07-17 16:16:27 -04:00 committed by Scott González
parent 347aa335f0
commit fa5e7c17a8

View File

@ -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);