From: Brandon Aaron Date: Sat, 17 Feb 2007 20:34:15 +0000 (+0000) Subject: Rolling back fix for #914 due to firefox double evaling scripts X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=ef1bd0453245c3b619cad33303e167899581067a;hp=5c9fadbc5da45edddf34474ec6a1553c5b6ac978;p=jquery.git Rolling back fix for #914 due to firefox double evaling scripts --- diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index b513e63..7eb1b91 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -77,7 +77,7 @@ jQuery.fn.extend({ complete: function(res, status){ if ( status == "success" || !ifModified && status == "notmodified" ) // Inject the HTML into all the matched elements - self.html(res.responseText) + self.attr("innerHTML", res.responseText) // Execute all the scripts inside of the newly-injected HTML .evalScripts() // Execute callback