]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Fix bug #3065284: AjaxVote problem with Webkit browsers v0.97.2
authorChristian Weiske <cweiske@cweiske.de>
Wed, 16 Feb 2011 07:50:30 +0000 (08:50 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 16 Feb 2011 07:50:30 +0000 (08:50 +0100)
Conflicts:

doc/ChangeLog

doc/ChangeLog
www/jsScuttle.php

index 4858db63b7aa3a8ed621ec4a3945752662aa2da6..6fe66e9c94f6878b3c54aa4cac4c98b7815dbcc0 100644 (file)
@@ -9,6 +9,7 @@ ChangeLog for SemantiScuttle
 - Fix bug #3111254: Search in my_watchlist results in error
 - Fix bug #3073215: Updating bookmark time does not work
 - Make Unittests run with phpunit 3.5.x
+- Fix bug #3065284: AjaxVote problem with Webkit browsers
 
 
 0.97.1 - 2010-09-30
index f37da786fff6edca5fb726dcfb83597efa9b3871..c16675535b2c9769620f4ed679b27f9f2549ae70 100644 (file)
@@ -155,7 +155,10 @@ function processVotingResult() {
     var bmnode = document.getElementById('bmv-'+bookmark);
 
     bmnode.parentNode.replaceChild(
-        response.getElementsByTagName('html')[0].firstChild,
+        xmlhttp.responseXML.importNode(
+            response.getElementsByTagName('html')[0].firstChild,
+            true
+        ),
         bmnode
     );
 }