usunięcie console.log
This commit is contained in:
@@ -474,8 +474,7 @@ async function logInToAccount(event){
|
||||
|
||||
// Zalogowanie/inicjacja użytkownika
|
||||
function getClientNew(){
|
||||
console.log("fn: getClientNew");
|
||||
app_shop.fn.ajaxLoadSite(1);
|
||||
app_shop.fn.ajaxLoadSite(1);
|
||||
|
||||
// Przygotowanie jesli użytkownik nie jest zalogowany
|
||||
if(!document.querySelector(".--logged")) document.getElementById("client_form").remove();
|
||||
@@ -760,9 +759,7 @@ const SET_REGION = (setRegionInput) => JSON.stringify({
|
||||
|
||||
// Zmiana regionu dostawy
|
||||
async function changeRegion(payAndDelData = null, firstLoad = false) {
|
||||
console.log("fn: changeRegion");
|
||||
|
||||
// Pobranie informacji o regionie z formularza
|
||||
// Pobranie informacji o regionie z formularza
|
||||
const clientRegion = document.getElementById("client_region").value;
|
||||
const deliveryRegion = document.getElementById("deliver_to_billingaddr").checked ? document.getElementById("delivery_region").value : clientRegion;
|
||||
|
||||
@@ -784,8 +781,7 @@ async function changeRegion(payAndDelData = null, firstLoad = false) {
|
||||
|
||||
// Załadowanie metod dostaw i płatności
|
||||
function getNewPaymentsAndDeliveries(data = null, firstLoad = false) {
|
||||
console.log("fn: order1_new");
|
||||
// Wyczyszczenie zapisanych poprzednich metod płatności
|
||||
// Wyczyszczenie zapisanych poprzednich metod płatności
|
||||
prevPayment = undefined;
|
||||
prevShipping = undefined;
|
||||
// Wyczyszczenie punktow odbioru
|
||||
@@ -1835,8 +1831,7 @@ function createOrder(deliveryMethod, paymentMethod){
|
||||
throwAjaxError(a);
|
||||
},
|
||||
success: function (e, a) {
|
||||
console.log("d2");
|
||||
sendOrder(order);
|
||||
sendOrder(order);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user