workaround for diff filter checkboxes getting changed on creation of form object

diff-proposed-for-bwees
bwees 3 years ago
parent ab74377be0
commit 7b0ddc23d3

@ -619,6 +619,10 @@ def changedetection_app(config=None, datastore_o=None):
datastore.data['watching'][uuid].update(form.data)
datastore.data['watching'][uuid].update(extra_update_obj)
# Fix the diff filters being changed in the creation of form object
datastore.data['watching'][uuid]['trigger_on_add'] = default['trigger_on_add']
datastore.data['watching'][uuid]['trigger_on_del'] = default['trigger_on_del']
flash("Updated watch.")
# Re #286 - We wait for syncing new data to disk in another thread every 60 seconds

Loading…
Cancel
Save