My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 487: node.getKeyPath() always starts path with "/", regardless of tree.options.keyPathSeparator
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2014


 
Reported by me...@goolrick.us, May 2, 2014
What steps will reproduce the problem?
1. set tree.options.keyPathSeparator to something other than '/'
2. call node.getKeyPath()
3. keyPath returned always starts with '/'
4. tree.loadKeyPath(keyPath) fails

http://jsfiddle.net/M4zwm/3/

What is the expected output? What do you see instead?

keyPath with either leading keyPathSeparator or no leading char at all, but not '/'.

What version of the dynatree and jQuery are you using? dynatree 1.2.5
On what operating system and browser? any
What DOCTYPE declaration are you using? html

Please provide any additional information below.

Maybe best to just remove leading char? Doesn't appear to be useful.

May 3, 2014
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-Release1.2.6
May 3, 2014
Project Member #2 moo...@wwwendt.de
This issue was closed by revision r702.
Status: Fixed

Powered by Google Project Hosting