From 2fbcc84043fa7b878414131b3fecae21dbc17e13 Mon Sep 17 00:00:00 2001 From: Moe Date: Sun, 14 Apr 2019 11:34:41 -0700 Subject: [PATCH] Fix missing Control section --- definitions/en_CA.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/definitions/en_CA.js b/definitions/en_CA.js index 7a55f954..443a6465 100644 --- a/definitions/en_CA.js +++ b/definitions/en_CA.js @@ -72,7 +72,7 @@ module.exports = function(s,config,lang){ "description": "Location of where recorded files will be saved. You can configure more locations with the addStorage variable.", "fieldType": "select", "possible": s.listOfStorage - } + } ] }, "Connection": { @@ -2978,9 +2978,6 @@ module.exports = function(s,config,lang){ headerTitle: `${lang['Object Detection']} ${lang['Plugin']} : ${lang['Not Connected']}`, isSection: true, isAdvanced: true, - "section-pre-pre-class": "h_det_input h_det_1", - "section-pre-class": "h_casc_input h_casc_1", - "section-class": "shinobi-detector-opencv shinobi-detector-openalpr shinobi-detector_plug", "info": [ { "name": "detail=control", @@ -3692,6 +3689,16 @@ module.exports = function(s,config,lang){ "notForSubAccount": true, "evaluation": "details.edit_size !== '0'" }, + { + hidden:true, + "name": "detail=addStorage", + "default": "{}", + "notForSubAccount": true, + }, + { + "fieldType": 'div', + "id": "add_storage_max_amounts" + }, { "name": "detail=days", "field": lang["Number of Days to keep"] + lang['Videos'],