]> source.dussan.org Git - jquery.git/commitdiff
Rolling back fix for #914 due to firefox double evaling scripts
authorBrandon Aaron <brandon.aaron@gmail.com>
Sat, 17 Feb 2007 20:34:15 +0000 (20:34 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sat, 17 Feb 2007 20:34:15 +0000 (20:34 +0000)
src/ajax/ajax.js

index b513e630dc2276c8e796cab4a33e0d9670a00acb..7eb1b91c30e16403878931b0e1590c067eb753c4 100644 (file)
@@ -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