Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Typo fix

KrzysztofPajak2be3f5bdbbd3
diff --git a/src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml b/src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml
index b85354c4e..a83612b5c 100644
--- a/src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml
@@ -1,6 +1,6 @@
<div v-if="vmorder.PaymentInfo" class="checkout-data">
<div class="col-12 px-0">
- <div v-if="vmorder.paymentBussy" class="d-flex justify-content-center align-items-center" style="height: 150px;">
+ <div v-if="vmorder.paymentBusy" class="d-flex justify-content-center align-items-center" style="height: 150px;">
<div class="spinner-border text-info" role="status">
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml b/src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml
index 70e9961b9..d1ae6495b 100644
--- a/src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml
@@ -26,7 +26,7 @@
<template v-if="vmorder.ShippingMethodError !== null && vmorder.ShippingMethodError !== undefined">
<div class="alert alert-info">{{vmorder.ShippingMethodError}}</div>
</template>
- <template v-if="vmorder.shippingBussy">
+ <template v-if="vmorder.shippingBusy">
<div style="height: 65px" class="d-flex justify-content-center align-items-center w-100">
<b-spinner variant="info" label="Loading..."></b-spinner>
</div>
diff --git a/src/Web/Grand.Web/wwwroot/theme/script/public.checkout.js b/src/Web/Grand.Web/wwwroot/theme/script/public.checkout.js
index c82a74a7b..7745e15ef 100644
--- a/src/Web/Grand.Web/wwwroot/theme/script/public.checkout.js
+++ b/src/Web/Grand.Web/wwwroot/theme/script/public.checkout.js
@@ -51,10 +51,10 @@ var vmorder = new Vue({
vPaymentMethod: null,
vPaymentInfo: null,
vConfirmOrder: null,
- // paymentinfobussy
- paymentBussy: false,
- // shippingbussy
- shippingBussy: false,
+ // paymentinfobusy
+ paymentBusy: false,
+ // shippingbusy
+ shippingBusy: false,
// selectedshipping
selectedShippingMethod: 0,
shippingAddressErrors: null,
@@ -197,7 +197,7 @@ var vmorder = new Vue({
var model = response.data.update_section.model;
vmorder.PaymentViewComponentName = model.PaymentViewComponentName;
vmorder.PaymentInfo = true;
- vmorder.paymentBussy = true;
+ vmorder.paymentBusy = true;
document.querySelector(".payment-info-next-step-button").classList.add("disabled");
document.querySelector(".payment-info-next-step-button").setAttribute("onclick", "vmorder.vPaymentInfo.save()");
axios({
@@ -209,7 +209,7 @@ var vmorder = new Vue({
'Content-Type': 'application/json',
}
}).then(response => {
- vmorder.paymentBussy = false;
+ vmorder.paymentBusy = false;
var html = response.data;
document.querySelector('.payment-info .info').innerHTML = html;
}).then(function () {
@@ -835,14 +835,14 @@ var vmorder = new Vue({
card.classList.add('active');
},
loadPartialView(arg_value) {
- vmorder.shippingBussy = true;
+ vmorder.shippingBusy = true;
document.querySelector(".shipping-method-next-step-button").classList.add("disabled");
var url = window.location.origin + '/checkout/GetShippingFormPartialView?shippingOption=' + arg_value;
axios({
url: url,
method: 'post',
}).then(function (response) {
- vmorder.shippingBussy = false;
+ vmorder.shippingBusy = false;
document.getElementById('shipping_form').innerHTML = response.data;
document.querySelector(".shipping-method-next-step-button").classList.remove("disabled");
}).then(function () {