From: Calin Crisan Date: Sun, 15 Mar 2015 18:19:13 +0000 (+0200) Subject: minor ui reboot message fix X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=5ed31c8fbdb10cfa3f31eb9e285ae5269066cbc1;p=motioneye-debian minor ui reboot message fix --- diff --git a/static/js/main.js b/static/js/main.js index 6289b5f..9af5864 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -2230,7 +2230,7 @@ function fetchCurrentCameraConfig(onFetch) { function pushMainConfig(reboot) { var mainConfig = mainUi2Dict(); - pushConfigReboot = reboot; + pushConfigReboot = pushConfigReboot || reboot; pushConfigs['main'] = mainConfig; if (!isApplyVisible()) { showApply(); @@ -2241,7 +2241,7 @@ function pushCameraConfig(reboot) { var cameraConfig = cameraUi2Dict(); var cameraId = $('#cameraSelect').val(); - pushConfigReboot = reboot; + pushConfigReboot = pushConfigReboot || reboot; pushConfigs[cameraId] = cameraConfig; if (!isApplyVisible()) { showApply();