From 51878e2b3297aa4a416ffc2f2521010b5684ba43 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Thu, 16 Mar 2023 09:48:44 -0700 Subject: [PATCH] Stop RETURN from refreshing the mesh page When people are using the filters on the mesh page, they sometimes hit RETURN. This submit the page (which is a form) causing the page to reload, lossing the filter, and as a side effect, setting the page to auto-refresh. --- files/www/cgi-bin/mesh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/files/www/cgi-bin/mesh b/files/www/cgi-bin/mesh index 5aee7ce4..b2aca26c 100755 --- a/files/www/cgi-bin/mesh +++ b/files/www/cgi-bin/mesh @@ -479,9 +479,9 @@ end html.print("") html.print("") -html.print("") -html.print("") -html.print("") +html.print("") +html.print("") +html.print("") html.print("") if next(localhosts) then @@ -575,10 +575,10 @@ html.print("
") -- show current neighbors table html.print("
") -html.print("") -html.print("") +html.print("") +html.print("") html.print("") -html.print("") +html.print("") html.print("") local rows = {} @@ -745,10 +745,10 @@ html.print("
LQNLQTxMbps
") -- show remote node table html.print("
") -html.print("") -html.print("") +html.print("") -html.print("") local rows = {}
") +html.print("") html.print("ETX") +html.print("") html.print("