From 12b611b9d56f8da0d7cc28e33971432c2f3b0923 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 25 Oct 2017 13:02:28 -0700 Subject: [PATCH] When in live mode say Camera Offline instead of no data --- web/skins/classic/views/js/montagereview.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js index 305de1574..561f7e6c2 100644 --- a/web/skins/classic/views/js/montagereview.js +++ b/web/skins/classic/views/js/montagereview.js @@ -84,7 +84,11 @@ function imagedone( obj, monId, success ) { if ( ! success ) { // if we had a failrue queue up the no-data image //loadImage2Monitor(monId,"no data"); // leave the staged URL if there is one, just ignore it here. - loadNoData( monId ); + if ( liveMode ) { + writeText( monId, "Camera Offline" ); + } else { + writeText( monId, "No Data" ); + } } else { if ( monitorLoadingStageURL[monId] == "" ) { console.log("Not showing image for " + monId );