From 191267a90a34d543f26f1c77a5da525684d66a10 Mon Sep 17 00:00:00 2001 From: Aidaho Date: Tue, 19 Sep 2023 19:59:26 +0300 Subject: [PATCH] v7.0.0.0 Changelog: https://roxy-wi.org/changelog#7.0.0 --- app/templates/nettools.html | 2 +- inc/users.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/templates/nettools.html b/app/templates/nettools.html index 049388ef..0ab8161d 100644 --- a/app/templates/nettools.html +++ b/app/templates/nettools.html @@ -70,7 +70,7 @@ - {{ input('nettools_nslookup_server_to', name='server_to', title='Enter IP or Name') }} + {{ input('nettools_telnet_server_to', name='server_to', title='Enter IP or Name') }} {{ input('token', value=token, type='hidden') }} diff --git a/inc/users.js b/inc/users.js index 41195939..327d8c3f 100644 --- a/inc/users.js +++ b/inc/users.js @@ -1392,7 +1392,11 @@ function addGit(dialog_id) { } } function updateSettings(param, val) { - val = val.replace(/\//g, "92"); + try { + val = val.replace(/\//g, "92"); + } catch (e) { + val = val; + } toastr.clear(); $.ajax( { url: "/app/admin/setting/" + param + "/" + val,