Skip to content

Commit 65fdbe2

Browse files
authored
Merge pull request #2277 from IgniteUI/sstoychev/jqmigrate-new-dep
fix(*): resolving more deprecations
2 parents abc0e6c + 0e238a5 commit 65fdbe2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/js/modules/infragistics.ui.combo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,7 @@
29602960
// Remove readonly during the focus
29612961
// R.K. 29th August 2017, #1155 Combo in dropdown mode accepts keypress values in its input in IE/Edge
29622962
if (readonly && !($.ig.util.isEdge || $.ig.util.isIE)) {
2963-
this._options.$input.removeAttr("readonly");
2963+
this._options.$input.prop("readonly", false);
29642964
}
29652965

29662966
// Setting the range without focus won't work in most browsers

src/js/modules/infragistics.ui.editors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@
10411041
if (delay) {
10421042
this._timeouts.push(setTimeout(function () { self.field().focus(); }, delay));
10431043
} else {
1044-
this.field().focus();
1044+
this.field().trigger("focus");
10451045
}
10461046
},
10471047
_setFocus: function (event) {

src/js/modules/infragistics.util.jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214

215215
// Get correct offsets
216216
offset = this.igOffset();
217-
if ( !$.nodeName( offsetParent[ 0 ], "html" ) ) {
217+
if ( offsetParent[ 0 ].tagName.toLowerCase() !== "html" ) {
218218
parentOffset = offsetParent.igOffset();
219219
}
220220

0 commit comments

Comments
 (0)