Ticket #1492 (closed defect: fixed)
Linker button sometimes does not work for different image paths
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Plugins | Version: | trunk |
| Severity: | normal | Keywords: | Linker bug |
| Cc: | dobrivecher@… |
Description
I customized $dir and $url in /xihna/plugins/Linker/scan.php for each user to have his/her own area and found that for some directories Linker works finely, but for some directories, not finely. (I tested it in Firefox 3.5.7). For example, when scan.php produced [ { url: '/p8', children: [ { url: '/p8/images', children: [ { url: '/p8/images/plan.txt' } ] } ] }, { url: '/2_1Made_in_America.doc' } ] the Linker worked well, but when scan.php produced [ { url: '/images', children: [ { url: '/images/plan.txt' } ] } ] the Linker did not work well. Firebug told that the problem is Unhandled exception in xihna/plugins/Linker/dTree/dtree.js. I investigated this case and found that the actual error is in xihna/plugins/Linker/pluginMethods.js in function makeNodes. I corrected this bug and attached the corrected file since other users can meet this problem too. Best regards, Volodymyr Dobryvechir (dobrivecher at yahoo dot com)
