diff options
Diffstat (limited to 'applications/luci-app-ddns/luasrc/view/ddns')
-rw-r--r-- | applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm | 4 | ||||
-rw-r--r-- | applications/luci-app-ddns/luasrc/view/ddns/system_status.htm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm index b409ed0728..f3f45e0d04 100644 --- a/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm +++ b/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm @@ -14,7 +14,7 @@ // called by XHR.poll and onclick_startstop function _data2elements(data) { // Service sections - for( i = 1; i < data.length; i++ ) + for( var i = 1; i < data.length; i++ ) { var section = data[i].section // Section to handle var cbx = document.getElementById("cbid.ddns." + section + ".enabled"); // Enabled @@ -141,7 +141,7 @@ if (x.responseText == "_uncommitted_") { // we need a trick to display Ampersand "&" in stead of "&" or "&" // after translation - txt="<%:Please [Save & Apply] your changes first%>"; + var txt="<%:Please [Save & Apply] your changes first%>"; alert( txt.replace(new RegExp("<%:&%>", "g"), "&") ); } else { // should have data because status changed diff --git a/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm b/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm index 615b6b4336..41799cd4da 100644 --- a/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm +++ b/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm @@ -20,7 +20,7 @@ '<a class="cbi-button cbi-button-action important" type="button" href="' + data[0].url_up + '"><%:enable here%></a></strong>' ]); } else { - for( j = 1; j < data.length; j++ ) + for(var j = 1; j < data.length; j++ ) { rows.push([ @@ -57,4 +57,4 @@ </div> </div> </fieldset> -<!-- ++ END ++ Dynamic DNS ++ system_status.htm ++ -->
\ No newline at end of file +<!-- ++ END ++ Dynamic DNS ++ system_status.htm ++ --> |