Zeile 2 | Zeile 2 |
---|
<div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
|
<div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
|
<form action="report.php" method="post" class="reportData_{$id}" onsubmit="javascript: return Report.submitReport({$id});">
| <form action="report.php" method="post" class="reportData_{$id}" onsubmit="return Report.submitReport({$id});">
|
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" /> <input type="hidden" name="action" value="do_report" /> <input type="hidden" name="type" value="{$report_type}" />
| <input type="hidden" name="my_post_key" value="{$mybb->post_code}" /> <input type="hidden" name="action" value="do_report" /> <input type="hidden" name="type" value="{$report_type}" />
|
Zeile 19 | Zeile 19 |
---|
<script type="text/javascript"> <!--
|
<script type="text/javascript"> <!--
|
if($("#report_reason option:selected").val() != 'other')
| if($("#report_reason option:selected").attr('data-extra') != 1)
|
{ $("#reason").hide(); }
|
{ $("#reason").hide(); }
|
$("#report_reason").change(function()
| $("#report_reason").on('change', function()
|
{
|
{
|
if($(this).find("option:selected").val() == 'other')
| if($(this).find("option:selected").attr('data-extra') == 1)
|
{ $("#reason").show(); return;
| { $("#reason").show(); return;
|