4 Commits

Author SHA1 Message Date
Paul Kim
fe71eb5561 issue #11 Remove carts when loading app full. 2024-03-29 18:01:10 +09:00
Paul Kim
d7a6748ff8 issue #11 Fix text overflow issue on amenity item selection order lists. 2024-03-29 17:53:39 +09:00
Paul Kim
9da17b7835 issue #11 Fix brochure navigation dot not show issue. 2024-03-29 16:48:16 +09:00
Paul Kim
6979da71d4 issue #11 Fix wrong action when hdmi unplaged. 2024-03-29 14:06:21 +09:00
4 changed files with 33 additions and 18 deletions

View File

@@ -802,7 +802,7 @@ HotelTV.api = (function() {
"mac_wifi": "",
"mac_bt": "",
"speed": 0,
"manufacture": "LG",
"manufacture": _dev_inf['manufacture'],
"model": "",
"hw_ver": "1.00",
"sw_ver": "1.1.5",

View File

@@ -130,6 +130,12 @@ function __fxn_Set_DebugOpt() {
console.log("OPT" + navigator.appVersion);
if (navigator.appVersion.includes("Web0S") == true) {
HotelTV.dbginfo['emulator'] = false;
HotelTV.devinfo['manufacture'] = "LG";
HotelTV.devinfo['tvOS'] = "Web0S";
} else if (navigator.appVersion.includes("Tizen") == true) {
HotelTV.dbginfo['emulator'] = false;
HotelTV.devinfo['manufacture'] = "SAMSUNG";
HotelTV.devinfo['tvOS'] = "Tizen";
} else {
HotelTV.dbginfo['emulator'] = true;
}
@@ -209,7 +215,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -236,7 +242,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -270,7 +276,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
return;
@@ -291,7 +297,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -314,7 +320,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -343,7 +349,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -366,7 +372,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -401,7 +407,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -424,7 +430,7 @@ HotelTV.Init = async function() {
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hcap.Reboot(), 500);
setTimeout(HotelTV.hcap.Reboot, 500);
}
});
}
@@ -648,13 +654,15 @@ HotelTV.LoadAppFull = async function() {
}
try {
let _result = await HotelTV.api.DeleteAmenityCarts(null);
HotelTV.carts.amenity = await HotelTV.api.GetAmenityCarts(null);
} catch (_error) {
console.error("Display Error page for get amenity carts info");
}
HotelTV.carts.roomservice = await HotelTV.api.GetRoomserviceCarts();
try {
let _result = await HotelTV.api.DeleteRoomserviceCarts(null);
HotelTV.carts.roomservice = await HotelTV.api.GetRoomserviceCarts();
} catch (_error) {
console.error("Display Error page for get roomservicec carts info");
}

View File

@@ -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;
}
}
}
}
}

View File

@@ -125,7 +125,7 @@
width: 15px;
border: 2px solid rgba(80, 80, 80, 0.8);
filter: drop-shadow(0 1px 2px rgb(0, 0, 0));
background: none;
/* background: none; */
}
@@ -225,7 +225,7 @@
width: 15px;
border: 2px solid rgba(80, 80, 80, 0.8);
filter: drop-shadow(0 1px 2px rgb(0, 0, 0));
background: none;
/* background: none; */
}
@@ -325,7 +325,7 @@
width: 15px;
border: 2px solid rgba(80, 80, 80, 0.8);
filter: drop-shadow(0 1px 2px rgb(0, 0, 0));
background: none;
/* background: none; */
}
@@ -425,7 +425,7 @@
width: 15px;
border: 2px solid rgba(80, 80, 80, 0.8);
filter: drop-shadow(0 1px 2px rgb(0, 0, 0));
background: none;
/* background: none; */
}
@@ -1055,6 +1055,8 @@
width: 50%;
float: left;
padding: 0px 0px 0px 20px;
text-overflow: ellipsis;
overflow: hidden;
}
.popup .amenity .bg .owl-carousel .owl-stage .am_item_sel_cart_win .winright>.cart_table>.tbl_record tbody tr>.cartItem>#quantity {