From 83c57926d346437d2ebfcea4d38b1e08f7ec758f Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 9 Jan 2019 20:06:55 -0700 Subject: [PATCH] Never interrupt during upload --- core/upload.js | 2 ++ misc/menu_template.in.hjson | 1 + 2 files changed, 3 insertions(+) diff --git a/core/upload.js b/core/upload.js index a2f2c9ea..6eaff2ab 100644 --- a/core/upload.js +++ b/core/upload.js @@ -73,6 +73,8 @@ exports.getModule = class UploadModule extends MenuModule { constructor(options) { super(options); + this.interrupt = MenuModule.InterruptTypes.Never; + if(_.has(options, 'lastMenuResult.recvFilePaths')) { this.recvFilePaths = options.lastMenuResult.recvFilePaths; } diff --git a/misc/menu_template.in.hjson b/misc/menu_template.in.hjson index e3b76c21..60c57605 100644 --- a/misc/menu_template.in.hjson +++ b/misc/menu_template.in.hjson @@ -3440,6 +3440,7 @@ desc: Uploading module: upload config: { + interrupt: never art: { options: ULOPTS fileDetails: ULDETAIL