From ef1bd0453245c3b619cad33303e167899581067a Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Sat, 17 Feb 2007 20:34:15 +0000 Subject: [PATCH] Rolling back fix for #914 due to firefox double evaling scripts --- src/ajax/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4