summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-08-23 18:32:38 +0200
committerGitHub <noreply@github.com>2020-08-23 18:32:38 +0200
commitf555ab56a861dadbba37fad4478846dbfcff5031 (patch)
tree9efc414efc53ccd1b6c40e1f04470718d049864b /applications/luci-app-ddns/htdocs/luci-static/resources
parent28d1c4bce7d3d8870dd0e299bbf5d48bb8c025a2 (diff)
parent8aac2a339aca4efec9ef5ac4b325eda2e55ea10d (diff)
Merge pull request #4380 from Ansuel/ddns-fix-pt2
luci-app-ddns: fix wrong service with custom selected
Diffstat (limited to 'applications/luci-app-ddns/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
index 2bda3f3bc..3fd752bee 100644
--- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
+++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
@@ -489,7 +489,7 @@ return view.extend({
o.value('-',"-- " + _("custom") + " --");
o.cfgvalue = function(section_id) {
- return uci.get('ddns', section_id, 'service_name');
+ return uci.get('ddns', section_id, 'service_name') || '-';
}
o.write = function(section_id, formvalue) {