#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 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't verify this problem, the eval stuff seems to work fine in IE.
Note: See
TracTickets for help on using
tickets.
This should be execScript, not evalScript. Can someone provide a testcase for this?