Hello Adam,
These is a minor issue in admin area. When a Abuse report is accepted, the acceptReport() function still closes the dialog while it should hide modal. Here's the little code that needs to be changes
Also, I would like you to notify us even if you have made minor changes in the script. I usually have to download the script and plugins every once in a while (and compare) to check if there are minor changes. Please be a good developer. We need every little bugs to be cleared on our site and you are suppose to notify us even if there is any little change.
Thank You,
Farida Dobani.
These is a minor issue in admin area. When a Abuse report is accepted, the acceptReport() function still closes the dialog while it should hide modal. Here's the little code that needs to be changes
Code:
function acceptReport(abuseId)
{
gAbuseId = abuseId;
// accept report
$.ajax({
type: "POST",
url: "ajax/file_report_accept.ajax.php",
data: { abuseId: gAbuseId },
dataType: 'json',
success: function(json) {
if(json.error == true)
{
//$('#confirmDelete').dialog('close');
hideModal();
showError(json.msg);
}
else
{
//$('#confirmDelete').dialog('close');
hideModal();
showSuccess(json.msg);
$('#removal_type').val(3);
$('#admin_notes').val('');
reloadTable();
callback();
}
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
showError(XMLHttpRequest.responseText);
}
});
}
Thank You,
Farida Dobani.