Merge pull request #4380 from Ansuel/ddns-fix-pt2
luci-app-ddns: fix wrong service with custom selected
This commit is contained in:
commit
f555ab56a8
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ return view.extend({
|
||||||
o.value('-',"-- " + _("custom") + " --");
|
o.value('-',"-- " + _("custom") + " --");
|
||||||
|
|
||||||
o.cfgvalue = function(section_id) {
|
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) {
|
o.write = function(section_id, formvalue) {
|
||||||
|
|
Loading…
Reference in a new issue