修复 举报时选择举报理由后提交,后台举报理由丢失的BUG

问题描述:
http://www.discuz.net/thread-3574548-1-1.html

Discuz! Fans 相关贴:
http://www.discuzf.com/thread-102-1-1.html
This commit is contained in:
Coxxs 2017-01-13 11:02:37 +08:00
parent 21f2645035
commit 950af8bb98
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
var reasons = {lang report_reason_message};
var reasonstring = '';
for (i=0; i<reasons.length; i++) {
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 />';
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 />';
}
$('report_reasons').innerHTML = reasonstring;
</script>