summaryrefslogtreecommitdiff
path: root/www/jsScuttle.php
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 /www/jsScuttle.php
parent66ee4cbe40a56aa3c9b71427ee51c6b371eb3053 (diff)
downloadsemanticscuttle-0dd5540bfbad7cd75a1eecd96a245aa512356338.tar.gz
semanticscuttle-0dd5540bfbad7cd75a1eecd96a245aa512356338.tar.bz2
Fix bug #3065284: AjaxVote problem with Webkit browsers
Diffstat (limited to 'www/jsScuttle.php')
-rw-r--r--www/jsScuttle.php5
1 files changed, 4 insertions, 1 deletions
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
);
}