franky1978 / igoogle-legacy

Automatically exported from code.google.com/p/igoogle-legacy
1 stars 0 forks source link

Embeded Gadget has JS Error in IE8.0 #648

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description of the bug/feature.
==================================
One of our user embeded our gadget to their site using the "Embed this 
gadget". But the page display an JS error message, on the left of the IE 
status bar.(exclamatory mark)

PLEASE FILL OUT THE FOLLOWING FOR A BUG REPORT ONLY:

What steps will reproduce the problem?
======================================
1.Please visit http://www.fiscalisadvisory.com/mstar_barometer.html
2.You may experience this by browsing the attached html file ,has the 
embeded script in it,in IE8.0
3.

What is the expected output?
============================

What is the actual output?
==========================

Which browsers have you experienced this on?
============================================
IE8.0

Which operating systems have you experienced this on?
=====================================================

Please provide any additional information below.
Clicking on the IE8 Error message after the gadget comes up gives this 
info: 
Message: 'gadgets' is undefined
Line: 88
Char: 99
Code: 0
URI: http://www.fiscalisadvisory.com/mstar_barometer.html

The embeded script used from the page:

<script src="http://www.gmodules.com/ig/ifr?
url=http://quicktake.morningstar.com/Widgets/default/GadgetXML/MktBarometer
.xml&amp;up_switch=0&amp;synd=open&amp;w=480&amp;h=600&amp;title=&amp;borde
r=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

Original issue reported on code.google.com by agen....@gmail.com on 18 Feb 2010 at 1:32

Attachments:

GoogleCodeExporter commented 9 years ago
Are you the author of this gadget or a user? This tracker is for reporting 
issues
with the older _IG_ gadgets api. If you have a problem using the gadget then you
should contact the gadget author.

Original comment by robruss...@google.com on 3 Mar 2010 at 7:22

GoogleCodeExporter commented 9 years ago
I am the author of the gadget. 

In the gadget embedded content generated by iGoogle, there's a JavaScript 
snippet
invoking a method of 'gadgets' object, yet the ['gadgets' is undefined].
I guess it's due to the inappropriate loading sequence of the external 
JavaScript files. 

Original comment by agen....@gmail.com on 29 Mar 2010 at 11:51

GoogleCodeExporter commented 9 years ago
In general this happens because of the loading order (which could happen 
asynchronously depending on the method used to load libraries).

Original comment by robruss...@google.com on 25 Jun 2010 at 3:52