Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#171 closed bug (worksforme)

IE Eval Context

Reported by: john Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:

Description

That does the trick. In jquery svn, we need to change the following lines: Line number 4910:

eval.call( window, this.text
this.textContent this.innerHTML "" );

should be changed to

{var src=window, this.text
this.textContent this.innerHTML "";

window.evalScript?window.evalScript(src):eval.apply(window,src);}

Unfortunately this does not work:

(window.evalScript?window.evalScript:eval).apply(window,this.text
this.textContent this.innerHTML "");

Similarly, line 5134:

if ( type == "script" ) eval.call( window, data );

should be changed to:

if ( type == "script" ) {window.evalScript?window.evalScript(data):eval.call( window, data );}

Change History (2)

comment:1 Changed 14 years ago by joern

This should be execScript, not evalScript. Can someone provide a testcase for this?

comment:2 Changed 14 years ago by joern

Resolution: worksforme
Status: newclosed

Can't verify this problem, the eval stuff seems to work fine in IE.

Note: See TracTickets for help on using tickets.