Closed GoogleCodeExporter closed 8 years ago
Following patch should fix the problem:
diff -p -u DOMInjection.java.orig DOMInjection.java
--- DOMInjection.java.orig 2009-12-02 17:57:07.000000000 +0000
+++ DOMInjection.java 2009-12-02 17:57:07.000000000 +0000
@@ -114,7 +114,6 @@ public class DOMInjection extends Lesson
+ " req.onreadystatechange = callback;" + lineSep + " req.send(null);" +
lineSep + "}" + lineSep
+ "function callback() {" + lineSep + " if (req.readyState == 4) { " + lineSep
+ " if (req.status == 200) { " + lineSep + " var message =
req.responseText;" + lineSep
- + " var result = req.responseXML.getElementsByTagName('reward');" +
lineSep
+ " var messageDiv = document.getElementById('MessageDiv');" + lineSep
+ " try {" + lineSep
+ " eval(message);" + lineSep + " " + lineSep
Original comment by aleeth...@gmail.com
on 3 Dec 2009 at 11:30
Original comment by mayhe...@gmail.com
on 24 Mar 2010 at 8:35
Original comment by X71...@gmail.com
on 10 Aug 2011 at 4:15
Original issue reported on code.google.com by
aleeth...@gmail.com
on 2 Dec 2009 at 6:01