From 5ed31c8fbdb10cfa3f31eb9e285ae5269066cbc1 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 15 Mar 2015 20:19:13 +0200 Subject: [PATCH] minor ui reboot message fix --- static/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5