google-code-export / dynatree

Automatically exported from code.google.com/p/dynatree
1 stars 0 forks source link

Problem with persist, suggestion for a solution included #451

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a problem when I set persist to true, I get the following error:
Cannot call method 'split' of undefined.
I looked at the code, and in the method read() of DynaTreeStatus a check is 
made several times for (cookie === null) but the value of the variable cookie 
is undefined at this point.
If I change all checks to (cookie === null || cookie === undefined) then 
everything works fine.

Cheers, Roel.

Original issue reported on code.google.com by roelplie...@gmail.com on 26 Aug 2013 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 26 Aug 2013 at 3:28

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 27 Aug 2013 at 5:58