summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-02-16 08:50:30 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-02-16 08:50:30 +0100
commitb2687abf9175ea93c12aa054478b1e4f8a0507da (patch)
tree88f6f90744c44635bdcdec8cb098f43ef8b87c2a
parente4d2d0ba2fb2e40c1bcfd1b85afacdd285d6c5d8 (diff)
downloadsemanticscuttle-57f4a9a734907f90f4ff2e6ebf382580d365f798.tar.gz
semanticscuttle-57f4a9a734907f90f4ff2e6ebf382580d365f798.tar.bz2
Fix bug #3065284: AjaxVote problem with Webkit browsersv0.97.2
Conflicts: doc/ChangeLog
-rw-r--r--doc/ChangeLog1
-rw-r--r--www/jsScuttle.php5
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 4858db6..6fe66e9 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -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
diff --git a/www/jsScuttle.php b/www/jsScuttle.php
index f37da78..c166755 100644
--- a/www/jsScuttle.php
+++ b/www/jsScuttle.php
@@ -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
);
}