Hi there,
I'm trying to host the static javascript libraries on Amazon S3 and am encountering some issues with the autoloading. Here is the issue.
When we include the main FusionCharts.js, the script attempts to load the file FusionCharts.HC.js but the path to FusionCharts.HC.js is incorrect resulting in a 404. For example, we load the main FusionCharts.js from our S3 bucket like this:
<script type="text/javascript" language="javascript" src="http://assets.mydomain.org/js/FusionCharts.js"></script>
This should be autoloading the following file
<script type="text/javascript" language="javascript" src="http://assets.mydomain.org/js/FusionCharts.HC.js"></script>
But instead attempts to load
<script type="text/javascript" language="javascript" src="http://www.mydomain.org/page/http%3A%2F%2Fassets.mydomain.org%2Fjs%2FFusionCharts.HC.js "></script>
Which obviously is malformed and does not exist (results in 404). I've peaked in the obfuscated FusionCharts.js and the error arises around line 36 where the construction of the path to the autoloaded library is created. I can't figure out a fix though as I'm not a javascript wiz. Any help would be much appreciated!
By the way, I'm using version 3.2.2-servicerelease1.4200