summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStefan Sundin <git@stefansundin.com>2020-02-26 18:53:49 -0800
committerStefan Sundin <git@stefansundin.com>2020-02-26 19:08:21 -0800
commit872693761117238aa5caff0408612a7467bb6a89 (patch)
treeced8370b00bd0eeeaf4168b558b8e04c772ad41f
parent7c6c043df7323b74e96d892568f5defcd8e7fd0f (diff)
luci-app-adblock: Fix enter key submitting form but not showing any results.
Signed-off-by: Stefan Sundin <git@stefansundin.com>
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/query.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/query.htm b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
index 88108c3f2..fb659958d 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/query.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
@@ -43,7 +43,7 @@ This is free software, licensed under the Apache License, Version 2.0
//]]>
</script>
-<form method="post" action="<%=REQUEST_URI%>">
+<form method="post" action="<%=REQUEST_URI%>" onsubmit="update_status(this.input); return false;">
<div class="cbi-map">
<div class="cbi-section">
<div class="cbi-section-descr"><%:This form allows you to query active block lists for certain domains, e.g. for whitelisting.%></div>