修复 举报时选择举报理由后提交,后台举报理由丢失的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:
parent
21f2645035
commit
950af8bb98
|
@ -34,7 +34,7 @@
|
||||||
var reasons = {lang report_reason_message};
|
var reasons = {lang report_reason_message};
|
||||||
var reasonstring = '';
|
var reasonstring = '';
|
||||||
for (i=0; i<reasons.length; i++) {
|
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;
|
$('report_reasons').innerHTML = reasonstring;
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue