remove extraneous option

install-with-shinobicctv-user-instead-of-root
Moe 2020-08-27 16:20:33 -07:00
parent 4af8b7ff8c
commit 815fbb0cae
3 changed files with 2 additions and 22 deletions

View File

@ -3084,25 +3084,6 @@ module.exports = function(s,config,lang){
"form-group-class": "h_casc_input h_casc_1",
"possible": ""
},
{
"name": "detail=detector_always_record",
"field": lang['Start recording on motion'],
"description": "",
"default": "0",
"example": "",
"selector": "h_det_alwy_rec",
"fieldType": "select",
"possible": [
{
"name": lang.No,
"value": "0"
},
{
"name": lang.Yes,
"value": "1"
}
]
},
{
hidden: true,
"name": "detail=detector_scale_x_object",

View File

@ -1021,6 +1021,5 @@
"There are no monitors that you can view with this account.":"There are no monitors that you can view with this account.",
"Delete Monitors and Files": "Delete Monitors and Files",
"Select atleast one monitor to delete": "Select atleast one monitor to delete.",
"Use Built-In":"Use Built-In",
"Start recording on motion":"Start recording on motion"
"Use Built-In":"Use Built-In"
}

View File

@ -377,7 +377,7 @@ module.exports = function(s,config,lang){
})
}
//
if(currentConfig.detector_always_record === '1' || d.doObjectDetection !== true ){
if(currentConfig.detector_use_motion === '0' || d.doObjectDetection !== true ){
if(currentConfig.det_multi_trig === '1'){
s.getCamerasForMultiTrigger(d.mon).forEach(function(monitor){
if(monitor.mid !== d.id){