diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-23 18:32:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 18:32:38 +0200 |
commit | f555ab56a861dadbba37fad4478846dbfcff5031 (patch) | |
tree | 9efc414efc53ccd1b6c40e1f04470718d049864b /applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js | |
parent | 28d1c4bce7d3d8870dd0e299bbf5d48bb8c025a2 (diff) | |
parent | 8aac2a339aca4efec9ef5ac4b325eda2e55ea10d (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/view/ddns/overview.js')
-rw-r--r-- | applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js | 2 |
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) { |