Skip to content

Commit

Permalink
Merge pull request #1831 from igandrews/TFS258868_181
Browse files Browse the repository at this point in the history
TFS258868 - 18.1
  • Loading branch information
kdinev authored Dec 4, 2018
2 parents cd1a429 + 95fd1ac commit 420f09c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/modules/infragistics.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1698,6 +1698,10 @@
type = $.ig.Boolean.prototype.$type;
} else if (obj instanceof Date) {
type = $.ig.Date.prototype.$type;
} else if (obj instanceof Array) {
if (targetType == $.ig.IEnumerable.prototype.$type) {
return obj;
}
}

if ($.ig.util.canAssignSimple(targetType, type)) {
Expand Down

0 comments on commit 420f09c

Please sign in to comment.