diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-07-15 18:54:09 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-07-15 18:54:09 (GMT) |
commit | 54b03eaeeea23b91bb5555f4292c77e8e46eeca9 (patch) | |
tree | b0e09fce54d3ffe330f37c56d63dc120cfb5b5a0 | |
parent | 75035692396e859a47677723e281deac925ba726 (diff) |
cancel: don't close socket myself
-rw-r--r-- | www/js/importer.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/www/js/importer.js b/www/js/importer.js index c7e13c7..fc2e462 100644 --- a/www/js/importer.js +++ b/www/js/importer.js @@ -486,10 +486,6 @@ Rdxport.Upload.prototype.close = function() { Rdxport.Upload.prototype.cancel = function() { this.webSocket.send(JSON.stringify({ COMMAND: 'cancel' })); - this.webSocket.close(); - // todo: only do this when i get "done" - importer.removeUpload(this); - this.group.fetchCarts(); }; Rdxport.Upload.prototype.importFileUploadSuccess = function() { |