А
нормально обрабатывает 3 константы из 4, но почему именно с той - затык....
я ее уже и преставлял на другое место и переименовал - не помогло :)
Size: a a a
А
VY
$(function() {
//переход в контракт на выбранной локции
$('.button-skrill-account-id').on('click', function () {
let url = '/admin/skrill/ajax/account/get-detailed';
let skrillAccountId = $(this).data('skrill-account-id');
//запрос на какой контракт переходить
axios.post(url, {skrillAccountId: skrillAccountId})
.then(function (response) {
$('#largeModal .modal-body').html(response.data);
$('#largeModal').modal('show');
})
.catch(function (error) {
console.log(error);
});
return false;
});
$('#buttonSaveSkrillAccountDetailed').on('click', function () {
let url = '/admin/skrill/ajax/account/save-detailed';
let formData = new FormData($('#formSaveSkrillAccountDetailed')[0]);
axios.post(url, formData)
.then(function (response) {
// setToastrOptions();
if (response.data.status === 'ok'){
toastr["success"](response.data.message);
}
})
.catch(function (error) {
console.log(error);
});
return false;
});
});
VY
A
$(function() {
//переход в контракт на выбранной локции
$('.button-skrill-account-id').on('click', function () {
let url = '/admin/skrill/ajax/account/get-detailed';
let skrillAccountId = $(this).data('skrill-account-id');
//запрос на какой контракт переходить
axios.post(url, {skrillAccountId: skrillAccountId})
.then(function (response) {
$('#largeModal .modal-body').html(response.data);
$('#largeModal').modal('show');
})
.catch(function (error) {
console.log(error);
});
return false;
});
$('#buttonSaveSkrillAccountDetailed').on('click', function () {
let url = '/admin/skrill/ajax/account/save-detailed';
let formData = new FormData($('#formSaveSkrillAccountDetailed')[0]);
axios.post(url, formData)
.then(function (response) {
// setToastrOptions();
if (response.data.status === 'ok'){
toastr["success"](response.data.message);
}
})
.catch(function (error) {
console.log(error);
});
return false;
});
});
A
VY
$('#largeModal .modal-body').html(response.data);
A
$('#largeModal .modal-body').html(response.data);
VY
А
MR
MR
VY
if (!isset(setChange)) {
const setChange = document.querySelector("#promo_id_change");
}
VY
VH
if (!isset(setChange)) {
const setChange = document.querySelector("#promo_id_change");
}
VY
dI
dI
dI
{
dI