Author Topic

Marko Žmak

Friday 18 March 2011 2:47:19 am

Comment66703

"

@Marko : wow that seems tricky :-) I've just tried but it does not seem to work for me on an Exponential 4.4 with the bundled ezjscore nor with the last git version.

"

First I did try it on eZP 4.5, but now I have tried it on 4.4 and it works too. It woks both with LoadFromCDN enabled or disabled.

Are you sure you did the exactly same thing as I did?

And there's an interesting detail...

When I enable the Packer in INI settings, and call:

{ezscript('http://maps.google.com/maps/api/js?sensor=true&ext=.js')}

by itself, the the content of http://maps.google.com/maps/api/js?sensor=true if not included in the packed file nor it's included via the <script> tag in HTML.

But if I put http://maps.google.com/maps/api/js?sensor=true together with all other JS scripts in one ezscript() call, then it is included correctly via the <script> tag:

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&amp;ext=.js" charset="utf-8"></script>

Hm, maybe Andre R. could comment some more on this one...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth