Remove unnecessary logs
This commit is contained in:
parent
dd5c5a90d3
commit
5418f834fe
@ -263,13 +263,7 @@ function removeAttachment(id) {
|
|||||||
$('input[name="attachment-ids[]"][value="' + id + '"]').remove();
|
$('input[name="attachment-ids[]"][value="' + id + '"]').remove();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: getHelpdeskUrl() + '/internal-api/ticket/delete-attachment.php?id=' + id,
|
url: getHelpdeskUrl() + '/internal-api/ticket/delete-attachment.php?id=' + id,
|
||||||
method: 'GET',
|
method: 'GET'
|
||||||
success: function() {
|
|
||||||
console.info('Removed attachment ' + id);
|
|
||||||
},
|
|
||||||
error: function() {
|
|
||||||
console.error('Error removing attachment ' + id);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user