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

Expanded tree not persisted under certain circumstances #669

Closed
Surfrat opened this issue Nov 30, 2016 · 1 comment
Closed

Expanded tree not persisted under certain circumstances #669

Surfrat opened this issue Nov 30, 2016 · 1 comment

Comments

@Surfrat
Copy link

Surfrat commented Nov 30, 2016

I am using ExtPersist to save the tree state on refresh or when you navigate away and back to the original page.

I start with this:
screenshot - 2016-11-30 3 24 16 pm

A page refresh returns me to the same state. Test passed.

A "navigate away and back" gives me this:
screenshot - 2016-11-30 3 26 51 pm
Test failed as I expect to see the same state as in the first screenshot.

The reason it fails is I have
documentsTree.reload();
in my page activate event.
If I remove this line then the state is correctly restored.

I see this issue has been previously reported here.

Is there a fix for this or is it on the road map?

Thanks.

@mar10
Copy link
Owner

mar10 commented Nov 30, 2016

I hope this is explained here #638
If the problem yet exists, please create a jsFiddle or similar, so I can debug it,
thanks!

@mar10 mar10 closed this as completed Nov 30, 2016
LouisGac referenced this issue in LimeSurvey/LimeSurvey Dec 5, 2016
Dev: Merged milestone into master optimized ui in the admin interface with fancy-tree library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants