Directory path not working in CS6
I have an extension that I am updating for Dreamweaver CS6. Here's the link on Adobe: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2430523
The gist is during install it provides the user with the option select a custom save directory for KDF files (proprietary extension but is xml). This directory is referenced when creating template files (KTF) later on (proprietary extension but is html). It was working perfectly fine in Dreamweaver CS4-CS5.5 on OSX & Windows however in CS6 it doesn't remember the users directory selection.
<token name="KDF" prompt="Descriptor Files (Save all .KDF files here)" default="$dreamweaver/configuration/Blackbaud/Templates/KDF" />
I began by of course doing tons of research only to find Adobe removed support for the prompt & default attributes from tokens in the mxi file which I think isn't true since that portion actually still worked. Eitherway I listened and tried to change it accordingly as they suggested as seen below:
<token name="KDF" definition="$dreamweaver/configuration/Blackbaud/Templates/KDF" />
Turns out it can't find the directory either which I know should work or the plugin UI would fail because I have a few other tokens doing the same thing for assets.
My best guess is the error is within "Shared/CMS/Scripts/CMN/UI.js" since that is where the GetCustomPath function is located and also where the error message is defined. I have included a slink to the source files if someone would like to take a stab.
I define GetCustomPath() at the top and then call upon it starting on line 482 of UI.js.
http://truimage.biz/Sphere160.zip
Help in troubleshooting as to why this is no longer working in Cs6 would be very much appreciated.
