| Issue 113: | reload loses persistence | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Calling $("#tree").dynatree("getTree").reloadAjax() reloads the tree but
does not seem to reload persistence from cookies.
Same bug in IE 8 and Firefox 3.5.2
jQuery 1.3.2
Aug 19, 2009
Project Member
#1
moo...@wwwendt.de
Status:
Accepted
Aug 19, 2009
Refreshing and re-performing the initialization:
$("#tree").dynatree({
initAjax: { url: ....
...
rootVisible: false, // Set to true, to make the root node visible.
minExpandLevel: 1, // 1: root node is not collapsible
checkbox: true,
selectMode: 3,
persist: true,
cookieId: "mycookie",
....
maintains the persistency. BUT after the tree is initialized, calling reloadAjax()
does not seem to reload from the cookies.
Using Dynatree 0.5.1
Aug 19, 2009
(No comment was entered for this change.)
Owner:
moo...@wwWendt.de
Aug 19, 2009
(No comment was entered for this change.)
Labels:
Milestone-Release0.5.2
Aug 26, 2009
Fixed with r283 (please confirm) reload called append, which called removeChildren, which also child persistence. removeChildren now has a new arg 'retainPersistence'
Status:
Fixed
Aug 26, 2009
When tree depth is 3 or more, root and immediate child checkboxes are re-selected properly. Any other checkboxes below the first child were not re-selected on reloadAjax. Reload did correctly persist the tree expansion. Refresh (F5) persists correctly. Tested on IE8, r283, jQuery 1.3.2, Vista
Aug 28, 2009
Hope I got it right now. Can you try again (with the trunk version)?
Aug 29, 2009
Now works: expand and active node, but is other problem – when first time start page or cookie remove with tools page, reloadAjax loses persistence, but when I push F5 – reloadAjax work ok
Aug 30, 2009
Reproduced: 1. clear session cookies 2. open (lazy loading) page 3. expand, select and activate 4. tree.reloadAjax() -> BUG: not persisted 5. [F5] -> persisted status appears OK 6. tree.reloadAjax() -> persisted status appears OK
Status:
Accepted
Sep 2, 2009
Yes the above summary is correct.
Sep 19, 2009
Tried another aproach. Note that relaodAjax() was renamed to reload()
Sep 19, 2009
(No comment was entered for this change.)
Summary:
reload loses persistence
Sep 21, 2009
Did a _quick_ test, seems fixed. Thanks!
Sep 21, 2009
Thank you for testing and your patience ;-)
Status:
Fixed
Jul 17, 2012
considered verified
Status:
Verified
|