diff options
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r-- | interface/js/app/upload.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index 546f5cc84..1cde1d470 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -73,11 +73,6 @@ define(["jquery", "app/common", "app/libft"], }); } - function get_server() { - const checked_server = common.getSelector("selSrv"); - return (checked_server === "All SERVERS") ? "local" : checked_server; - } - // @upload text function scanText(data, headers) { common.query("checkv2", { @@ -136,7 +131,7 @@ define(["jquery", "app/common", "app/libft"], common.alertMessage("alert-error", "Cannot tokenize message: no text data"); } }, - server: get_server() + server: common.getServer() }); } @@ -168,7 +163,7 @@ define(["jquery", "app/common", "app/libft"], common.alertMessage("alert-error", "Unexpected error processing message"); } }, - server: get_server() + server: common.getServer() }); } |