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,