CatSeed
本帖最后由 Event 于 2017-1-28 18:00 编辑

进到Discuz目录下
upload/template/default/common/report.htm
这个文件中
大约37行
  1. reasonstring += '<label><input type="radio" name="report_select" class="pr" onclick="$(report_other).style.display=' + (i < reasons.length -1 ? 'none' : '') + ';$(report_msg).style.display=' + (i < reasons.length -1 ? 'none' : '') + '" value="' + reasons[i] + '"> ' + reasons[i] + '</label><br />';
复制代码

修改为
  1. reasonstring += '<label><input type="radio" name="report_select" class="pr" onclick="' + (i < reasons.length -1 ? '$(\'report_message\').innerHTML=this.value;' : '') + '$(report_other).style.display=' + (i < reasons.length -1 ? 'none' : '') + ';$(report_msg).style.display=' + (i < reasons.length -1 ? 'none' : '') + '" value="' + reasons[i] + '"> ' + reasons[i] + '</label><br />';
复制代码


CatSeed
@混乱   @rom718      

混乱
试试看吧,上次你给的方案反倒是整个编辑器烂了

CatSeed
混乱 发表于 2017-1-22 12:54
试试看吧,上次你给的方案反倒是整个编辑器烂了

...目前的版本是3.2还是3.3

混乱
Event 发表于 2017-1-22 12:52
...目前的版本是3.2还是3.3

3.1

andylizi
http://www.mcbbs.net/forum.php?m ... 570129&pid=10046487

CatSeed

我的修改方案都是基于DISCUZ3.3 20170101的....3.1可能无效

。—。
本帖最后由 a6809936 于 2017-1-23 15:37 编辑
Event 发表于 2017-1-23 12:30
我的修改方案都是基于DISCUZ3.3 20170101的....3.1可能无效


应该不是你的锅,我们的混乱小朋友以为javascirpt里可以用#来做注释!
edit: 暂时收回前半句话,正在整理稿子
edit2: 忽然忘记这事了,话说我想说啥来着……

CatSeed

  #混乱   

  @混乱  

javascript里面的注视是
  1. //注释内容
复制代码

或者

  1. /*
  2. 注视内容
  3. */
复制代码

吧.....





CatSeed
本帖最后由 Event 于 2017-1-23 18:14 编辑

   @混乱    @rom718      

CatSeed
  @1026833619  已降权