Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe71eb5561 | ||
|
|
d7a6748ff8 |
@@ -802,7 +802,7 @@ HotelTV.api = (function() {
|
|||||||
"mac_wifi": "",
|
"mac_wifi": "",
|
||||||
"mac_bt": "",
|
"mac_bt": "",
|
||||||
"speed": 0,
|
"speed": 0,
|
||||||
"manufacture": "LG",
|
"manufacture": _dev_inf['manufacture'],
|
||||||
"model": "",
|
"model": "",
|
||||||
"hw_ver": "1.00",
|
"hw_ver": "1.00",
|
||||||
"sw_ver": "1.1.5",
|
"sw_ver": "1.1.5",
|
||||||
|
|||||||
@@ -130,6 +130,12 @@ function __fxn_Set_DebugOpt() {
|
|||||||
console.log("OPT" + navigator.appVersion);
|
console.log("OPT" + navigator.appVersion);
|
||||||
if (navigator.appVersion.includes("Web0S") == true) {
|
if (navigator.appVersion.includes("Web0S") == true) {
|
||||||
HotelTV.dbginfo['emulator'] = false;
|
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 {
|
} else {
|
||||||
HotelTV.dbginfo['emulator'] = true;
|
HotelTV.dbginfo['emulator'] = true;
|
||||||
}
|
}
|
||||||
@@ -209,7 +215,7 @@ HotelTV.Init = async function() {
|
|||||||
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"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...`);
|
$('.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() {
|
"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...`);
|
$('.error #countdown #message').text(`System will be reboot in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot(), 500);
|
setTimeout(HotelTV.hcap.Reboot, 500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return;
|
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...`);
|
$('.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() {
|
"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...`);
|
$('.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() {
|
"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...`);
|
$('.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() {
|
"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...`);
|
$('.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() {
|
"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...`);
|
$('.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() {
|
"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...`);
|
$('.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() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.Reboot(), 500);
|
setTimeout(HotelTV.hcap.Reboot, 500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -648,13 +654,15 @@ HotelTV.LoadAppFull = async function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
let _result = await HotelTV.api.DeleteAmenityCarts(null);
|
||||||
HotelTV.carts.amenity = await HotelTV.api.GetAmenityCarts(null);
|
HotelTV.carts.amenity = await HotelTV.api.GetAmenityCarts(null);
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
console.error("Display Error page for get amenity carts info");
|
console.error("Display Error page for get amenity carts info");
|
||||||
}
|
}
|
||||||
|
|
||||||
HotelTV.carts.roomservice = await HotelTV.api.GetRoomserviceCarts();
|
|
||||||
try {
|
try {
|
||||||
|
let _result = await HotelTV.api.DeleteRoomserviceCarts(null);
|
||||||
|
HotelTV.carts.roomservice = await HotelTV.api.GetRoomserviceCarts();
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
console.error("Display Error page for get roomservicec carts info");
|
console.error("Display Error page for get roomservicec carts info");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1055,6 +1055,8 @@
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0px 0px 0px 20px;
|
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 {
|
.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