标题:
修改dz6.0论坛在编辑帖子的时候表格边框不显示
[打印本页]
作者:
fangzhen
时间:
2009-5-27 09:12
标题:
修改dz6.0论坛在编辑帖子的时候表格边框不显示
如题,这个是dz6.0的一个bug,修改如下:
include/javascript/editor.js
var editbox = editwin = editdoc = editcss = null;
var cursor = -1;
var stack = new Array();
var initialized = false;
newEditor(wysiwyg); //删除该行
templates/defualt/post_js.htm
<!--{if $action == 'edit' || $action == 'reply' && $repquote}-->
<script type="text/javascript">
if(wysiwyg) {
initialized = false;
newEditor(1, bbcode2html(textobj.value));
} else {
newEditor(0);
}
</script>
<!--{/if}-->
将上面语句段修改为
<script type="text/javascript">
<!--{if $action == 'edit' || $action == 'reply' && $repquote}-->
if(wysiwyg) {
initialized = false;
newEditor(1, bbcode2html(textobj.value));
} else {
newEditor(0);
}
<!--{else}-->
newEditor(wysiwyg);
<!--{/if}-->
</script>
欢迎光临 PHP开发笔记 (http://phpvi.com/)
Powered by Discuz! 6.1.0