projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-firewall: missing variable declaration
[project/luci.git]
/
applications
/
luci-app-firewall
/
htdocs
/
luci-static
/
resources
/
view
/
firewall
/
forwards.js
diff --git
a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
index ee8d36e0c619653239210bf76803436e976105f0..151a5338dfc855424c0669823d735e2451d55c5a 100644
(file)
--- a/
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
+++ b/
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
@@
-22,7
+22,7
@@
function rule_proto_txt(s, ctHelpers) {
};
});
- m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/);
+
var
m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/);
var h = m ? {
val: m[0].toUpperCase(),
inv: m[1],