guptahanu / google-ajax-apis

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

google.load callback doesn't fire if the jsapi was loaded dynamically in IE #419

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

function load(){
 google.load("language", "1", {"callback" : function (){
  alert("loaded");
 }});
}

//insert via a new script tag:
$.getScript("http://www.google.com/jsapi", load);

What is the expected output? What do you see instead?

The alert isn't displayed in IE 6-8 most of the time.
If the jsapi is included in the html then it works fine.
Calling load() once again afterwards displays the alert.

What version of the product are you using? On what operating system?
Windows Vista

Original issue reported on code.google.com by balazs.endresz on 26 Mar 2010 at 3:01

GoogleCodeExporter commented 8 years ago
Oops, I didn't see #410, this is a duplicate.

Original comment by balazs.endresz on 26 Mar 2010 at 5:55

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/google-ajax-apis/issues/detail?id=410

Original comment by balazs.endresz on 26 Mar 2010 at 5:56