IS
Size: a a a
IS
j
ВV
ВV
ВV
RS
IS
BU
O
IS
RS
BU
BU
IS
RS
<script>
$(document).ready(function() {
setTimeout(function() {
$(".js-form-proccess").each(function(index, form) {
var $form = $(form);
var formSuccessCallback = $form.data("success-callback");
var cachedCallback = window[formSuccessCallback];
window[formSuccessCallback] = (function() {
return function() {
$($form.serializeArray()).each(function(i, el) {
if(el.name.indexOf("form-spec-") === -1 && (el.name.indexOf("tildaspec-") === -1 || el.name === "tildaspec-phone-part[]") && el.name.indexOf("formservices") === -1) {
if(el.value !== "") {
localStorage.setItem(el.name, el.value);
}
}
});
return cachedCallback($form);
};
})();
$.each(window.localStorage, function(name, value) {
if(name === "tildaspec-phone-part[]") {
setTimeout(function() {
$('[name="' + name + '"]').val(value);
$('.t-input-phonemask').trigger('input');
}, 1000);
}
$('[name="' + name + '"]').val(value);
try {
$('[type="radio"][value="' + value + '"]').prop("checked", true);
} catch(e) {
/* do nothing */
}
});
});
}, 500);
});
</script>
BU
LD
AP
AP
KK