diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-02 13:52:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 13:52:37 +0100 |
commit | d1c24c8972f9323aa616c142019cbc89d6dd0272 (patch) | |
tree | fdd75e2206f6b2e4798692833dbffca3754f9dd6 /applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm | |
parent | 1c076cd26dde1d510658e8cb7cb2ca0ba0205a82 (diff) | |
parent | ec63339ae5258509cf7a8829d4dd79519948c256 (diff) |
Merge pull request #2252 from stweil/lgtm
Add missing variable declarations in JavaScript code
Diffstat (limited to 'applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm')
-rw-r--r-- | applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm index 9afd367d1f..46cc27dec6 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm @@ -55,6 +55,7 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 }, for (var idx = 0; idx < info.length; idx++) { var smartgw = info[idx]; + var linkgw; s += '<div class="tr cbi-section-table-row cbi-rowstyle-'+(1 + (idx % 2))+' proto-' + smartgw.proto + '">' if (smartgw.proto == '6') { linkgw = '<a href="http://[' + smartgw.ipAddress + ']/cgi-bin-status.html">' + smartgw.ipAddress + '</a>' |