From 6979da71d4dd46b57fa45d8d60fbbe8e4f727faa Mon Sep 17 00:00:00 2001 From: Paul Kim Date: Fri, 29 Mar 2024 14:06:21 +0900 Subject: [PATCH] issue #11 Fix wrong action when hdmi unplaged. --- procentric/application/lib/hoteltv.ui_appfull.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/procentric/application/lib/hoteltv.ui_appfull.js b/procentric/application/lib/hoteltv.ui_appfull.js index bde522b..20f8d1f 100755 --- a/procentric/application/lib/hoteltv.ui_appfull.js +++ b/procentric/application/lib/hoteltv.ui_appfull.js @@ -492,9 +492,14 @@ HotelTV.ui_appfull = (function() { }, 1000); HotelTV.ui_utils.ShowNotificationMsgBalloon(_trTbl.system.notice.event.external_input.hdmi_connected[_state.lang], 5); }else{ - $('body,html').fadeIn(500); - _state.menu.stage.cur = _state.menu.stage.prev; - _state.menu.stage.prev = null; + if ( $('body,html').css('display')=="none" ){ + $('body,html').fadeIn(500); + + if ( _state.menu.stage.prev!=null ){ + _state.menu.stage.cur = _state.menu.stage.prev; + _state.menu.stage.prev = null; + } + } } } }