diff --git a/procentric/application/lib/hoteltv.ui_appfull.js b/procentric/application/lib/hoteltv.ui_appfull.js index 1833ebb..8847bac 100755 --- a/procentric/application/lib/hoteltv.ui_appfull.js +++ b/procentric/application/lib/hoteltv.ui_appfull.js @@ -607,12 +607,21 @@ HotelTV.ui_appfull = (function() { let _amenity = null; let _roomservice = null; + let _elAmPupOoderRoot = $('.popup .amenity').children('.order'); + if ( _elAmPupOoderRoot.css('display')!="none" ){ + _elAmPupOoderRoot.hide(); + } + + let _elRsPupOoderRoot = $('.popup .roomservice').children('.order'); + if ( _elRsPupOoderRoot.css('display')!="none" ){ + _elRsPupOoderRoot.hide(); + } + if (!_opening.amenity) { return; } _amenity = _opening.amenity; - // HOTKEY정보를 state에 기록 if (!(_amenity.button in _state.hotkey.mm)) { _state.hotkey.mm[_amenity.button] = { @@ -631,10 +640,7 @@ HotelTV.ui_appfull = (function() { }; } - let _elAmPupOoderRoot = $('.popup .amenity').children('.order'); - if ( _elAmPupOoderRoot.css('display')!="none" ){ - _elAmPupOoderRoot.hide(); - } + @@ -642,7 +648,6 @@ HotelTV.ui_appfull = (function() { return; } _roomservice = _opening.roomService; - // HOTKEY정보를 state에 기록 if (!(_roomservice.button in _state.hotkey.mm)) { _state.hotkey.mm[_roomservice.button] = { @@ -661,10 +666,6 @@ HotelTV.ui_appfull = (function() { }; } - let _elRsPupOoderRoot = $('.popup .roomservice').children('.order'); - if ( _elRsPupOoderRoot.css('display')!="none" ){ - _elRsPupOoderRoot.hide(); - } return; }