summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-02-16 08:49:01 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-02-16 08:49:01 +0100
commit0dd5540bfbad7cd75a1eecd96a245aa512356338 (patch)
treed3b629313c2f34c4bedf96963d20b42752ad8a31
parent66ee4cbe40a56aa3c9b71427ee51c6b371eb3053 (diff)
downloadsemanticscuttle-0dd5540bfbad7cd75a1eecd96a245aa512356338.tar.gz
semanticscuttle-0dd5540bfbad7cd75a1eecd96a245aa512356338.tar.bz2
Fix bug #3065284: AjaxVote problem with Webkit browsers
-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 212b4e3..acfce25 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -16,6 +16,7 @@ ChangeLog for SemantiScuttle
- Fix bug #3074816: French translation breaks edit javascript
- Fix bug #3111254: Search in my_watchlist results in error
- Fix bug #3073215: Updating bookmark time does not work
+- 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
);
}