From 5418f834fefd6e393ceab3a31da61ebb9b51f7b3 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Mon, 6 Jun 2016 12:44:35 -0400 Subject: [PATCH] Remove unnecessary logs --- js/modsForHesk-javascript.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/modsForHesk-javascript.js b/js/modsForHesk-javascript.js index 706abbe0..ef1c78a3 100644 --- a/js/modsForHesk-javascript.js +++ b/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' }); }