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);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -191,7 +191,6 @@ function loadMap() {
|
||||
runSearchPickup();
|
||||
}
|
||||
if (!finpostjs) {
|
||||
console.log("pickup_sites_list.js loaded");
|
||||
finpostjs = true;
|
||||
pickup_sites.courierId = ITEM_ID;
|
||||
runSearchPickup();
|
||||
@@ -470,7 +469,6 @@ async function logInToAccount(event){
|
||||
|
||||
// Zalogowanie/inicjacja użytkownika
|
||||
function getClientNew(){
|
||||
console.log("fn: getClientNew");
|
||||
app_shop.fn.ajaxLoadSite(1);
|
||||
|
||||
// Przygotowanie jesli użytkownik nie jest zalogowany
|
||||
@@ -756,8 +754,6 @@ 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
|
||||
const clientRegion = document.getElementById("client_region").value;
|
||||
const deliveryRegion = document.getElementById("deliver_to_billingaddr").checked ? document.getElementById("delivery_region").value : clientRegion;
|
||||
@@ -780,7 +776,6 @@ 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
|
||||
prevPayment = undefined;
|
||||
prevShipping = undefined;
|
||||
@@ -1831,9 +1826,8 @@ function createOrder(deliveryMethod, paymentMethod){
|
||||
throwAjaxError(a);
|
||||
},
|
||||
success: function (e, a) {
|
||||
console.log("d2");
|
||||
sendOrder(order);
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user