-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change 'isArray' to 'isArrayLike' in dojox/grid/_Layout::setStructure…
… to handle layout structures that are defined via a query that passes in a NodeList (this happens when creating a grid from markup)
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74dad0b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems even dojox/grid/_Layout.js::setStructure needs to be patched.
At row 233:
should be modified to:
At row 247:
if(lang.isArray(inStructure)){
should be modified to:
if(lang.isArrayLike(inStructure)){
74dad0b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing this! After reviewing the PR that you submitted (#237), I realized that you were addressing a similar, but unique issue compared to PR #238. I've landed #237 in master and backported to 1.11.