]> www.vanbest.org Git - motioneye-debian/commitdiff
simple mjpeg camera: fixed wrong file storage setting
authorCalin Crisan <ccrisan@gmail.com>
Thu, 3 Mar 2016 18:35:27 +0000 (20:35 +0200)
committerCalin Crisan <ccrisan@gmail.com>
Thu, 3 Mar 2016 18:35:27 +0000 (20:35 +0200)
motioneye/static/js/main.js

index 52640926e3ce5b9aa3cf2e1f16f4f30b12745daf..2d7da7cfb80138c47689cb8fe9126189f811f7e8 100644 (file)
@@ -1793,7 +1793,7 @@ function dict2CameraUi(dict) {
     $('#webHookStorageUrlEntry').val(dict['web_hook_storage_url']);
     $('#webHookStorageHttpMethodSelect').val(dict['web_hook_storage_http_method']);
 
-    $('#commandStorageEnabledSwitch')[0].checked = dict['command_storage_enabled']; markHideIfNull('command_storage_enabled', 'commandstorageSwitch');
+    $('#commandStorageEnabledSwitch')[0].checked = dict['command_storage_enabled']; markHideIfNull('command_storage_enabled', 'commandStorageEnabledSwitch');
     $('#commandStorageEntry').val(dict['command_storage_exec']);
 
     /* text overlay */