fixed umlauts using iconv-lite
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user