修改 include/js/common.js For Disczu 7.1/7.2 找到
$(ajaxframeid).contentWindow.document.documentElement.firstChild.nodeValue;
修改为 $(ajaxframeid).contentWindow.document.documentElement.firstChild.wholeText;
For Disczu 7.0
找到 s = $(ajaxpostHandle[1]).contentWindow.document.documentElement.firstChild.nodeValue; 修改为 s = $(ajaxpostHandle[1]).contentWindow.document.documentElement.firstChild.wholeText;
$(ajaxframeid).contentWindow.document.documentElement.firstChild.nodeValue;
修改为 $(ajaxframeid).contentWindow.document.documentElement.firstChild.wholeText;
For Disczu 7.0
找到 s = $(ajaxpostHandle[1]).contentWindow.document.documentElement.firstChild.nodeValue; 修改为 s = $(ajaxpostHandle[1]).contentWindow.document.documentElement.firstChild.wholeText;
本文档提供了针对不同版本的Discuz!论坛系统中common.js文件的具体修改步骤。主要涉及将nodeValue替换为wholeText,以确保代码的兼容性和正确执行。
888

被折叠的 条评论
为什么被折叠?



