Utama4d Login


Report Issue with or Share Issue Detail
Are you also facing an issue? Select an option below that best describe your problem or share its detail or any query to get answer from site admin or community.




Share Issue Detail

$(document).ready(function () {
$(“.u-status-report”).click(function (e) {
let btnClicked = this;
$(this).prop(“disabled”, true);
let issueID = $(this).attr(“issueID”);
console.log(issueID);
let keywordID = 1311837;
let jsonData = {
keyword_id: keywordID,
issue_id: issueID
};
console.log(jsonData);
$.ajax({
type: “POST”,
url: “ajax/user-status-report-handler.php”,
data: jsonData,
success: function (data) {
$(‘#user_reports_success’).modal(‘show’);
$(‘#btn-‘ + issueID).prop(“disabled”, false);
location.reload();
},
error: function (xhr, status, error) {
// console.log(xhr.responseJSON.message);
alertify.error(xhr.responseJSON.message);
$(‘#btn-‘ + issueID).prop(“disabled”, false);
}
});
});
});

No status report submitted in last 7 days.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *