diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-24 11:37:24 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-24 11:37:24 +0100 |
commit | 91532de6179704e4c69f1580274123f5956baf03 (patch) | |
tree | 7cf060e8ae2e21ee47e38741264fddc62394d5ad /applications/luci-ddns/luasrc/view | |
parent | df61ddaf87170e3c7d419133dc616b2b3df13690 (diff) | |
parent | 157e8e52aef5ede350e17ce688f76fbaddea5dd2 (diff) |
Merge pull request #256 from chris5560/master
luci-app-ddns: modified to support ddns-scripts 2.1.0-2
Diffstat (limited to 'applications/luci-ddns/luasrc/view')
-rw-r--r-- | applications/luci-ddns/luasrc/view/ddns/overview_status.htm | 4 | ||||
-rw-r--r-- | applications/luci-ddns/luasrc/view/ddns/system_status.htm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm index e23cc796e9..37c54be25f 100644 --- a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm +++ b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm @@ -141,10 +141,10 @@ str += "\n\nluci-app-ddns:"; str += "\n\t<%:Version%>:\t" + luci_version; str += "\n\t<%:Build%>:\t" + luci_build; - str += "\n\nddns-scripts <%:installed%>:"; - str += "\n\t<%:Version%>:\t" + ddns_version; str += "\n\nddns-scripts <%:required%>:"; str += "\n\t<%:Version%>:\t" + ddns_required + " <%:or greater%>"; + str += "\n\nddns-scripts <%:installed%>:"; + str += "\n\t<%:Version%>:\t" + ddns_version; str += "\n\n" alert(str); } diff --git a/applications/luci-ddns/luasrc/view/ddns/system_status.htm b/applications/luci-ddns/luasrc/view/ddns/system_status.htm index dcf06cc0bb..db9d1d1a01 100644 --- a/applications/luci-ddns/luasrc/view/ddns/system_status.htm +++ b/applications/luci-ddns/luasrc/view/ddns/system_status.htm @@ -10,7 +10,7 @@ if ( !(tbl) ) { return; } // clear all rows - while (tbl.rows.length > 1) + while (tbl.rows.length > 1) tbl.deleteRow(1); // variable for Modulo-Division use to set cbi-rowstyle-? (0 or 1) @@ -115,7 +115,7 @@ if (tbl.rows.length == 1 || (data[0].enabled == 0 && tbl.rows.length == 2) ) { var br = '<br />'; - if (tbl.rows.length > 1) + if (tbl.rows.length > 1) br = ''; var tr = tbl.insertRow(-1); tr.className = "cbi-section-table-row"; |