Studio-42/elFinder — Issue #181: opening a file fails when startPath option is used
Author: prattler
Created: 2011-12-21 10:55:49+00:00
State: open

while using the `startPath` option in connector.php there is a strange behavior.

After opening the elFinder, which shows the correct tree and the correct items for the`startPath`, the first doubleclick on an item opens a wrong url.

Example:
`path` is '../files'
`startPath` is '../files/test'
file.txt exists in files/test/

elFinder will show the item file.txt in the main window and the tree on the left is detailed in files/test. a doubleclick on the item should open http://\*/elFinder/files/test/file.txt but it will open http:// \*/elFinder/files//file.txt

After any naivgation action (for example switching to another folder and back to files/test/) the doubleclick opens the correct file.

Looks like the items don't get the startPath (but the root path) on initial rendering.