Hi Alan
So we have a couple of questions to answer then.
1. Are we executing the same code.
2. If we are, what is happening differently.
There are two files that I am interested in, client_helpers/report_helper.php and media/js/jquery.reportgrid.js.
The former injects the rootFolder value in to JavaScript and the latter creates the links, making the subsitution for '{rootFolder}'
Using FileVerifier++ I get the following MD5 checksums. If you get the same then that confirms we are running the same code.
4f9445e07ed521f31be326a2ffa7dda2 report_helper.php
3a6bf612322c8283ee8b0e2c8800645c jquery.reportgrid.js
If you view the html source of your form you can find the value of rootFolder that has been injected by PHP. In my instance I find the following
I've spotted a line of code in the JavaScript which, if {rootFolder} is omitted, will insert it. That is how it will be working for Fiona. However, if PHP is not outputting a value for JavaScript to use, this will not help.
Jim Bacon.