diff --git a/procentric/application/hoteltv.app.full.mypage.css b/procentric/application/hoteltv.app.full.mypage.css index c582272..97d6447 100755 --- a/procentric/application/hoteltv.app.full.mypage.css +++ b/procentric/application/hoteltv.app.full.mypage.css @@ -309,11 +309,11 @@ div#lst_mypagebg div #mp_message_table>#mp_msg_tblhdr tr>#title { } div#lst_mypagebg div #mp_message_table>#mp_msg_tblhdr tr>#from { - width: 354px; + width: 300px; } div#lst_mypagebg div #mp_message_table>#mp_msg_tblhdr tr>#date { - width: 236px; + width: 280px; } div#lst_mypagebg div #mp_message_table>#mp_msg_tblrec { @@ -387,11 +387,11 @@ div#lst_mypagebg div #mp_message_table>#mp_msg_tblrec tr>#title { } div#lst_mypagebg div #mp_message_table>#mp_msg_tblrec tr>#from { - width: 354px; + width: 300px; } div#lst_mypagebg div #mp_message_table>#mp_msg_tblrec tr>#date { - width: 236px; + width: 280px; } diff --git a/procentric/application/lib/hoteltv.ui_appfull.js b/procentric/application/lib/hoteltv.ui_appfull.js index f09be3d..6cbae83 100755 --- a/procentric/application/lib/hoteltv.ui_appfull.js +++ b/procentric/application/lib/hoteltv.ui_appfull.js @@ -2612,7 +2612,7 @@ HotelTV.ui_appfull = (function() { }); } } else if (_action == "down") { - if ((_cur_idx + 1) > (_total_cnt - 1)) { + if ((_cur_idx + 1) >= (_total_cnt - 1)) { _cur_idx = (_total_cnt - 1); } else { _cur_idx += 1; @@ -2621,8 +2621,9 @@ HotelTV.ui_appfull = (function() { $('.main>.mypage>.bg>.owl-carousel .owl-item #mp_msg_tblrec tr').filter("[msgidx='" + _cur_idx.toString() + "']").addClass('focus'); _state.menu.main[_mmIdx]['message']['cur'] = _cur_idx; - if ((_cur_idx > 3) && (_cur_idx < (_total_cnt - 2))) { - _el_target.stop().animate({ scrollTop: ((_cur_idx - 3) * 52).toString() }, 500, function() { + //if ((_cur_idx > 3) && (_cur_idx < (_total_cnt - 2))) { + if ( _cur_idx >= 3 ) { + _el_target.stop().animate({ scrollTop: ((_cur_idx - 1) * 52).toString() }, 500, function() { console.log("SCROLL DONE>>>2"); }); } @@ -3130,7 +3131,7 @@ HotelTV.ui_appfull = (function() { __curMsgDspIdx = _state.menu.main[_mmIdx].message.cur; } else { _state.menu.main[_mmIdx]['message'] = { - "cnt": Object.keys(_msg).length, + "cnt": _msg.length, "cur": __curMsgDspIdx, "prev": null, } @@ -3527,6 +3528,13 @@ HotelTV.ui_appfull = (function() { } else { console.log("ERROR::> No centered Item"); } + + // Shortcut key 팝업 지우기 + // 채널 리스트에서 팝업을 빨리 띄우는 경우, 바로가기 팝업이 사라지지 않고 남아 있는 이슈 workaround + let _elTvScutRoot = $('.main .tv .shortcut'); + if ( _elTvScutRoot.css('display') != 'none') { + _elTvScutRoot.fadeOut(500); + } } /**