summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-13 20:01:32 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-14 20:46:04 +0100
commit520a6add526fe6ed0a0da4ce42070e2456e71fa2 (patch)
tree22b03652afa1dda45d2e9e988f235bc2ade8cc6e /applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm
parent1dcdbb54ac872bc51aa1b2a8c68c795244a345dd (diff)
luci-app-firewall: remove references to cbi_bind()
Use the standard addEventListener() instead. Also remove an old cbi_validate_field() call referencing a not existing field. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm')
-rw-r--r--applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm b/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm
index f48599b505..1bb86821ec 100644
--- a/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm
+++ b/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm
@@ -71,7 +71,7 @@
</div>
<script type="text/javascript">//<![CDATA[
- cbi_bind(document.getElementById('_newfwd.extport'), 'blur',
+ document.getElementById('_newfwd.extport').addEventListener('blur',
function() {
var n = document.getElementById('_newfwd.name');
var p = document.getElementById('_newfwd.proto');