revised xmlhelper
This commit is contained in:
@@ -15,6 +15,7 @@ import * as BookingBtn from "./modules/bookingButton";
|
||||
import * as Panzoom from "./modules/panzoom";
|
||||
import * as CartButtons from "./modules/cartButtons";
|
||||
import * as jBoxHelper from "./modules/jBoxHelper";
|
||||
import * as Parser from './modules/parser';
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
// Inject JSC (jQuery Seat Charts)
|
||||
@@ -79,11 +80,11 @@ function messageHandler(inE: any) {
|
||||
const venueXML = config.state.inVenueXML!;
|
||||
|
||||
// Generate pricescale css classes
|
||||
const css = XMLHelper.generatePricescaleCSS();
|
||||
const css = UI.generatePricescaleCSS();
|
||||
Utils.inject(css, "cssCustom", "body");
|
||||
|
||||
// Fill event info
|
||||
const eventInfo = XMLHelper.getEventInfo();
|
||||
const eventInfo = Parser.getEventInfo();
|
||||
UI.setEventInfo(eventInfo);
|
||||
|
||||
// Fill select dropdown
|
||||
@@ -141,7 +142,7 @@ function messageHandler(inE: any) {
|
||||
else {
|
||||
Cart.removeCartItems();
|
||||
Cart.generateCartItems();
|
||||
const url = XMLHelper.generateCheckoutUrl();
|
||||
const url = Cart.generateCheckoutUrl();
|
||||
Events.addRedirectCheckout(url);
|
||||
UI.fadeInCartModal();
|
||||
CartButtons.showHideBtnCartLoading("hide");
|
||||
|
||||
Reference in New Issue
Block a user