From 58dc2285b3c02e7535289786a6943e600495b8e0 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 31 May 2022 18:04:31 +0530 Subject: [PATCH] remove hardcoded translation and fix accidental reformatting --- www/common/sframe-common-file.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index d5845a29b..a2f432810 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -33,8 +33,6 @@ define([ sframeChan.query('Q_UPLOAD_FILE', data, cb); }; - - Messages.upload_tooLargeBrief = "File exceeds the {0}MB limit for this drive"; // XXX module.create = function (common, config) { var File = {}; //var origin = common.getMetadataMgr().getPrivateData().origin; @@ -114,7 +112,9 @@ define([ } if (data.complete && data.href && data.uid) { if (response.expected(data.uid)) { - response.handle(data.uid, [data.href]); } return; + response.handle(data.uid, [data.href]); + } + return; } if (typeof data.progress !== "undefined" && response.expected(data.uid)) { return void updateProgress(data.progress);