Ticket #2287 (closed defect: duplicate)

Opened 23 months ago

Last modified 23 months ago

dojo.io.bind with mimetype: "text/javascript" dose not work in IE

Reported by: ewilde@… Owned by: alex
Priority: normal Milestone: 0.9
Component: IO Version: 0.4.1
Severity: normal Keywords:
Cc:

Description

it seems like that the script is indeed executed, but not in the global scope.

for testing example, i passed the following script:

var a1=[1,1];
alert(a1);

i have got the alert-box as expected, but it failed in the load function:

dojo.io.bind({
...
load: function(type, evaldObj){
  alert(a1); // exception raised !!
},
...

i suspect that in IE we should use execScript(), and not eval(). (eventually, in IE my workaround was using execScript with mimetype: "text/javascript")

Best regards, ewilde.

Change History

Changed 23 months ago by jburke

  • status changed from new to closed
  • resolution set to duplicate
  • milestone set to 0.5

Closing as a duplicate of #744.

Note: See TracTickets for help on using tickets.