Browse Source

Remove unnecessary logs

merge-requests/18/head
Mike Koch 6 years ago
parent
commit
5418f834fe
  1. 8
      js/modsForHesk-javascript.js

8
js/modsForHesk-javascript.js

@ -263,13 +263,7 @@ function removeAttachment(id) {
$('input[name="attachment-ids[]"][value="' + id + '"]').remove();
$.ajax({
url: getHelpdeskUrl() + '/internal-api/ticket/delete-attachment.php?id=' + id,
method: 'GET',
success: function() {
console.info('Removed attachment ' + id);
},
error: function() {
console.error('Error removing attachment ' + id);
}
method: 'GET'
});
}

Loading…
Cancel
Save