issue #11 채널 번호로 선택하기에서 창 뜨고나서 위로 눌렀을때 오동작 하는 문제 해결.
This commit is contained in:
@@ -3215,20 +3215,13 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
if ( _elTvScutRoot.css('display') != 'none') {
|
||||
_elTvScutRoot.fadeOut(500);
|
||||
// _elTvScutRoot.fadeOut(500, function(){
|
||||
// _state.tv.shortkey = {
|
||||
// "idx": "1",
|
||||
// "scroll_offset": 0,
|
||||
// "ch_item_idx": 1,
|
||||
// };
|
||||
// });
|
||||
}
|
||||
}
|
||||
else if ( _action=="move" )
|
||||
{
|
||||
if ( _keyCode == gRmtKey.up || _keyCode==gRmtKey.chup ) {
|
||||
let selectedTblItem = _elTvScutChlistRecord.children('tr.active').prev("#record tr");
|
||||
_state.tv.shortkey.ch_item_idx = Number(selectedTblItem.children(".scitem").attr("item_idx"));
|
||||
|
||||
if (selectedTblItem.length) {
|
||||
_elTvScutChlistRecord.children('tr.active').removeClass("active");
|
||||
selectedTblItem.addClass('active');
|
||||
@@ -3244,7 +3237,7 @@ HotelTV.ui_appfull = (function() {
|
||||
}
|
||||
} else if ( _keyCode == gRmtKey.down || _keyCode==gRmtKey.chdown ) {
|
||||
let selectedTblItem = _elTvScutChlistRecord.children('tr.active').next("#record tr");
|
||||
_state.tv.shortkey.ch_item_idx = Number(selectedTblItem.children(".scitem").attr("item_idx"));
|
||||
|
||||
if (selectedTblItem.length) {
|
||||
_elTvScutChlistRecord.children('tr.active').removeClass("active");
|
||||
selectedTblItem.addClass('active');
|
||||
|
||||
Reference in New Issue
Block a user