fixed umlauts using iconv-lite

This commit is contained in:
zino
2021-05-26 11:55:33 +02:00
parent 5c195abe72
commit 01560a5c20
11 changed files with 64410 additions and 517 deletions

View File

@@ -11,9 +11,12 @@ export function setOptionSelect(inSeatmapListing: I.Seatmap[], inId: string): vo
if (seatmapDropdown) {
for (let seatmapObj of inSeatmapListing) {
const id: string = seatmapObj.id[0];
const desc: string = Utils.encodeCP850DecodeUTF8(seatmapObj.desc[0]);
var opt: HTMLOptionElement = document.createElement('option');
opt.value = seatmapObj.id[0];
opt.innerHTML = seatmapObj.desc[0];
opt.value = id;
opt.innerHTML = desc;
seatmapDropdown.appendChild(opt);
}
}
@@ -31,6 +34,7 @@ export function setEventInfo(inEventInfo: I.EventInfo): void {
export function createDialog(): void {
const iframeHTML: string = "<iframe id='iframeSeatmap' scrolling='no' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen width='100%' />";
const src: string = Utils.getConfigValue("seatmap");
Utils.consoleLog(src);
jQuery("#dialogSeatmap").append(
jQuery(iframeHTML)