revised ui 2
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as XMLHelper from "./xmlhelper";
|
||||
import { config } from "./config";
|
||||
import * as I from "../types/types";
|
||||
import * as UI from "./ui";
|
||||
import * as Events from "./events";
|
||||
import * as CartButtons from "./cartButtons";
|
||||
|
||||
export function addItem(inSeatObj: I.JSCSelectedSeat): void {
|
||||
const color: string = `#${XMLHelper.getVenuePricescalePropertyByPricescaleID("color", inSeatObj.data.seatsObj.id[0])}`;
|
||||
@@ -38,7 +38,7 @@ export function changedDropdownBuyerType(inSelect: HTMLSelectElement, inSeatObj:
|
||||
config.state.selectedSeatsArr[index][2] = buyerTypeCode;
|
||||
|
||||
calcOverallPrice();
|
||||
UI.setBtnCartText();
|
||||
CartButtons.setBtnCartText();
|
||||
|
||||
const url = XMLHelper.generateCheckoutUrl();
|
||||
Events.addRedirectCheckout(url);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { config } from "./config";
|
||||
import * as I from "../types/types";
|
||||
import * as XMLHelper from "./xmlhelper";
|
||||
import * as UI from "./ui";
|
||||
import * as jBoxHelper from "./jBoxHelper";
|
||||
|
||||
export function addSeatToState(inSelectedSeat: I.JSCSelectedSeat): void {
|
||||
|
||||
@@ -2,9 +2,9 @@ import axios, { AxiosResponse } from 'axios';
|
||||
var xml2jsParser = require('xml2js').parseString;
|
||||
import * as I from "../types/types";
|
||||
import Utils from './utils';
|
||||
import * as UI from "./ui";
|
||||
import { config } from "./config";
|
||||
import * as Communication from "./communication";
|
||||
import * as CartButtons from "./cartButtons";
|
||||
|
||||
export function getXMLPromise(url: string): Promise<unknown> {
|
||||
return axios.get(url)
|
||||
@@ -68,7 +68,7 @@ export function isValidSeatSelection() {
|
||||
if (!config.state.selectedSeatsArr.length)
|
||||
return;
|
||||
|
||||
UI.showHideBtnCartLoading("show");
|
||||
CartButtons.showHideBtnCartLoading("show");
|
||||
|
||||
jQuery("#modalCart i").hide();
|
||||
jQuery("#modalCart .uabb-button-text").addClass("dot-pulse");
|
||||
|
||||
Reference in New Issue
Block a user