Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe71eb5561 | ||
|
|
d7a6748ff8 | ||
|
|
9da17b7835 | ||
|
|
6979da71d4 |
@@ -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",
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
@@ -492,12 +492,17 @@ HotelTV.ui_appfull = (function() {
|
||||
}, 1000);
|
||||
HotelTV.ui_utils.ShowNotificationMsgBalloon(_trTbl.system.notice.event.external_input.hdmi_connected[_state.lang], 5);
|
||||
}else{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* HotelTV UI Wrapper Function::> received event handling function
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user