Skip to main content

Bug Tracker

Side navigation

#171 closed bug (worksforme)

Opened September 02, 2006 09:46AM UTC

Closed November 08, 2006 03:21PM UTC

Last modified June 21, 2007 04:26AM UTC

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 );}

Attachments (0)
Change History (2)

Changed October 01, 2006 02:50PM UTC by joern comment:1

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

Changed November 08, 2006 03:21PM UTC by joern comment:2

resolution: → worksforme
status: newclosed

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