From: Calin Crisan Date: Mon, 12 Oct 2015 17:52:01 +0000 (+0300) Subject: do not automatically show the settings panel at login X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=b160e2aaa9f2565fe4c2ee5b8b019ab62dba2721;p=motioneye-debian do not automatically show the settings panel at login --- diff --git a/motioneye/static/js/main.js b/motioneye/static/js/main.js index 0ea2840..d6187fc 100644 --- a/motioneye/static/js/main.js +++ b/motioneye/static/js/main.js @@ -3729,9 +3729,9 @@ function recreateCameraFrames(cameras) { }); } - /* update settings panel */ + /* update the settings panel */ var cameraId = $('#cameraSelect').val(); - if (cameraId && cameraId != 'add') { + if (cameras == null && cameraId && cameraId != 'add') { openSettings(cameraId); } }