From bd809b12899eeef2390080ef2b9185c5936e75c3 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Fri, 9 May 2025 10:03:34 +0300 Subject: [PATCH] [Minor] Remove unused cleanTextUpload helper --- interface/js/app/upload.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index 2ad3153841..8ae00f20ea 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -32,10 +32,6 @@ define(["jquery", "app/common", "app/libft"], let filesIdx = null; let scanTextHeaders = {}; - function cleanTextUpload(source) { - $("#" + source + "TextSource").val(""); - } - function uploadText(data, source, headers, method = "POST") { const deferred = new $.Deferred(); @@ -71,7 +67,6 @@ define(["jquery", "app/common", "app/libft"], method: method, headers: headers, success: function (json, jqXHR) { - cleanTextUpload(source); common.alertMessage("alert-success", "Data successfully uploaded"); if (jqXHR.status !== 200) { common.alertMessage("alert-info", jqXHR.statusText); -- 2.47.3