From 06ef8a9353aa740188ff58da6f094ca0d5d33763 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 23 Feb 2021 15:10:34 +0100 Subject: [PATCH] Hide server address for sysupgrade --- luci-app-sysupgrade/luasrc/view/sysupgrade.htm | 3 +++ .../root/www/luci-static/resources/sysupgrade.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/luci-app-sysupgrade/luasrc/view/sysupgrade.htm b/luci-app-sysupgrade/luasrc/view/sysupgrade.htm index 7cb1efa9d..87b3cb85a 100644 --- a/luci-app-sysupgrade/luasrc/view/sysupgrade.htm +++ b/luci-app-sysupgrade/luasrc/view/sysupgrade.htm @@ -99,12 +99,15 @@ + +
diff --git a/luci-app-sysupgrade/root/www/luci-static/resources/sysupgrade.js b/luci-app-sysupgrade/root/www/luci-static/resources/sysupgrade.js index bfb2a83ba..9002d3ee0 100644 --- a/luci-app-sysupgrade/root/www/luci-static/resources/sysupgrade.js +++ b/luci-app-sysupgrade/root/www/luci-static/resources/sysupgrade.js @@ -98,7 +98,7 @@ function setup_ready() { upgrade_check(); } else { show("#upgrade_button"); - show("#server_div"); + //show("#server_div"); $("#server").value = data.url; } }