before remove getcolumnsnaming
This commit is contained in:
@@ -200,21 +200,21 @@ export function showSeatmapBtnParent(): void {
|
||||
Communication.sendEventToParent("child_seatmap_ready");
|
||||
}
|
||||
|
||||
export function createSeatTooltips(inVenueXML: I.VenueXML) {
|
||||
export function createSeatTooltips() {
|
||||
new jBox("Tooltip", {
|
||||
attach: jQuery(".seatCharts-seat"),
|
||||
onOpen: function (this: any) {
|
||||
showSeatTooltip(this, inVenueXML);
|
||||
showSeatTooltip(this);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function showSeatTooltip(jBox: any, inVenueXML: I.VenueXML): void {
|
||||
function showSeatTooltip(jBox: any): void {
|
||||
const seatID: string = jBox.source[0].id;
|
||||
const seat = config.state.layoutRows[seatID][5];
|
||||
const row = config.state.layoutRows[seatID][4];
|
||||
const sectionID = config.state.layoutRows[seatID][3];
|
||||
const sectionDesc = XMLHelper.getSectionDescBySectionID(inVenueXML, sectionID);
|
||||
const sectionDesc = XMLHelper.getSectionDescBySectionID(sectionID);
|
||||
const tooltipContent = `${sectionDesc}<br/>Reihe ${row} Platz ${seat}`;
|
||||
|
||||
jBox.setContent(tooltipContent);
|
||||
|
||||
Reference in New Issue
Block a user