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

Change isChecked type from string to boolean #1202

Merged
merged 1 commit into from
May 24, 2016

Conversation

fredj
Copy link
Member

@fredj fredj commented May 11, 2016

leftover from #1152

@fredj
Copy link
Member Author

fredj commented May 12, 2016

ping @sbrunner

} else {
childNode.metadata['isChecked'] = 'false';
}
childNode.metadata['isChecked'] = ol.array.includes(names, childNode.name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The metadata are used to store the current state of the layertree?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

humm, good question

Copy link
Member Author

@fredj fredj May 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

humm, good question

no, not to store the state

@sbrunner
Copy link
Member

Looks good for me :-)

@fredj
Copy link
Member Author

fredj commented May 24, 2016

Thanks for the review

@fredj fredj merged commit e04f941 into camptocamp:master May 24, 2016
@fredj fredj deleted the isChecked_bool branch May 24, 2016 13:26
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants