[Plugin: WP Ajax Edit Comments] Javascript Error – solution provided…
-
After fighting with this for a bit on a site, I figured out that there is a pretty significant error in jquery.atd.textarea.js:
r.document.write("<script type='text/javascript'>");r.document.write("(function(){var w = window; var p = w.parent; p.CSSHttpRequest.sandbox(w); w.onload = function(){p.CSSHttpRequest.callback('"+id+"');};})();");r.document.write("</script>");The document writes for <script> and for </script> really need to be broken or the browser interprets them to start and stop the script.
An easy fix would be:
r.document.write("<s"+"cript type='text/javascript'>";and
r.document.write("</s"+"cript>");
The topic ‘[Plugin: WP Ajax Edit Comments] Javascript Error – solution provided…’ is closed to new replies.