From 56ab8e594789d751c97ea2e46d2ffa7821d8b3a9 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Thu, 17 Mar 2016 15:04:35 +0000 Subject: [PATCH] filedrop: Use jQuery to remove filenode --- js/filedrop.field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/filedrop.field.js b/js/filedrop.field.js index 8b863fc9f..ce0bf1544 100644 --- a/js/filedrop.field.js +++ b/js/filedrop.field.js @@ -196,7 +196,7 @@ var i = this.uploads.indexOf(filenode); if (i !== -1) this.uploads.splice(i,1); - filenode.slideUp('fast', function() { this.remove(); }); + filenode.slideUp('fast', function() { $(this).remove(); }); } }, cancelUpload: function(node) { -- GitLab