Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There seems to be a problem with the _createNode code in listview. #1220

Closed
itsurea opened this issue Sep 28, 2018 · 1 comment
Closed

There seems to be a problem with the _createNode code in listview. #1220

itsurea opened this issue Sep 28, 2018 · 1 comment
Labels
Milestone

Comments

@itsurea
Copy link

itsurea commented Sep 28, 2018

if (Utils.objectLength(o.structure > 0)) $.each(o.structure, function(key, val){ if (data[key] !== undefined) { $("<div>").addClass("node-data item-data-"+key).addClass(data[val]).html(data[key]).appendTo(node); } });

I think 'Utils.objectLength(o.structure > 0)' should be 'Utils.objectLength(o.structure) > 0'.

In the current version, the structure value does not work properly with the add function.

@olton
Copy link
Owner

olton commented Sep 28, 2018

Thank you, fixed in 4.2.24

@olton olton added the Fixed label Sep 29, 2018
@olton olton added this to the 4.2.24 milestone Sep 29, 2018
@olton olton closed this as completed Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants