Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Do not change tree folder icons when selecting items for 3.7.x branch #1312

Merged
merged 3 commits into from
May 22, 2015

Conversation

swilliamset
Copy link
Contributor

merged #1283 into master out of order. should have merged to 3.7.x first.

Refactor (combine) selectFolder and selectItem to re-use code.

Add clearSelected method
Many problems with this unit test:
- Mouse clicks were not being tested, only API methods
- Folder selectable tree needs to test items also.
- Folder selectable tree needs to test items with folders previously selected, and folders with items previously selected
- Markup for folder selectable tree did not include a `tree-item` template and therefore created only folders and did not create any items (hence 4 folders/items are returned instead of the folders/correct 8 items).
- The selectItem method was being used to select folders.
@interactivellama
Copy link
Contributor

There should be a third commit. "Make selectTreeNode DRY, add deselectAll method"

@interactivellama interactivellama changed the title Tree select bug Tree select bug for 3.7.x branch May 21, 2015
@swilliamset swilliamset force-pushed the cherry-pick-pr-1283 branch from 01d622a to e54a9dc Compare May 22, 2015 14:57
@swilliamset
Copy link
Contributor Author

this is better.

for future reference we should not cherry-pick. however we should restore the branch and create a new PR with the right target. i was making it to complicated.

@interactivellama
Copy link
Contributor

Sounds good. Yeah, my branch should still be there unmodified.

interactivellama added a commit that referenced this pull request May 22, 2015
@interactivellama interactivellama merged commit f9e6964 into ExactTarget:3.7.x May 22, 2015
@interactivellama interactivellama changed the title Tree select bug for 3.7.x branch Do not change tree folder icons when selecting items for 3.7.x branch May 22, 2015
@swilliamset swilliamset deleted the cherry-pick-pr-1283 branch October 28, 2016 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants