mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
fixed dropdown box based deletion of unused params
This commit is contained in:
parent
a57f86315e
commit
379815d92b
@ -319,7 +319,7 @@ def _apply_changes(request, old_status, new_status):
|
|||||||
if new_status['dynamicdns_server'] == '':
|
if new_status['dynamicdns_server'] == '':
|
||||||
new_status['dynamicdns_server'] = EMPTYSTRING
|
new_status['dynamicdns_server'] = EMPTYSTRING
|
||||||
|
|
||||||
if new_status['service_type'] == 'GnuDIP':
|
if new_status['service_type'] == '1':
|
||||||
new_status['dynamicdns_ipurl'] = EMPTYSTRING
|
new_status['dynamicdns_ipurl'] = EMPTYSTRING
|
||||||
else:
|
else:
|
||||||
new_status['dynamicdns_server'] = EMPTYSTRING
|
new_status['dynamicdns_server'] = EMPTYSTRING
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user