");
$('.app-offer-alert').find('.alert-success').fadeIn(300);
setTimeout(function (argument) {
$('.app-offer-alert').find('.alert-success').fadeOut(300);
window.location.reload(true);
},3000);
} else {
$('#create-offer-modal').animate({
scrollTop: $('html, body').offset().top //#DIV_ID is an example. Use the id of your destination on the page
});
$('.app-offer-alert').html('
");
$('.edit-job-form').find('.alert-success').fadeIn(300);
setTimeout(function (argument) {
$('.edit-job-form').find('.alert-success').fadeOut(300);
window.location.reload(true);
},3000);
} else {
$('.edit-job-form').find('#create-job-modal').animate({
scrollTop: $('html, body').offset().top //#DIV_ID is an example. Use the id of your destination on the page
});
$('.edit-job-form').find('.app-general-alert').html('
");
$('.app-general-alert').find('.alert-success').fadeIn(300);
setTimeout(function (argument) {
$('.app-general-alert').find('.alert-success').fadeOut(300);
window.location.reload(true);
},3000);
} else {
$('#create-job-modal').animate({
scrollTop: $('html, body').offset().top //#DIV_ID is an example. Use the id of your destination on the page
});
$('.app-general-alert').html('
' + data.error + '
');
$('.alert-danger').fadeIn(300);
setTimeout(function (argument) {
$('.alert-danger').fadeOut(300);
},3000);
}
$('.wo_settings_page').find('.last-sett-btn .ball-pulse').fadeOut(100);
}
});
});
var create_pac_input = document.getElementById('location');
(function pacSelectFirst(input) {
// store the original event binding function
var _addEventListenerProduct = (input.addEventListener) ? input.addEventListener : input.attachEvent;
function addEventListenerWrapper(type, listener) {
// Simulate a 'down arrow' keypress on hitting 'return' when no pac suggestion is selected,
// and then trigger the original listener.
if(type == "keydown") {
var orig_listener_product = listener;
listener = function (event) {
var suggestion_selected_product = $(".pac-item-selected").length > 0;
if(event.which == 13 && !suggestion_selected_product) {
var simulated_downarrow_product = $.Event("keydown", {
keyCode: 40,
which: 40
});
orig_listener_product.apply(input, [simulated_downarrow_product]);
}
orig_listener_product.apply(input, [event]);
};
}
// add the modified listener
_addEventListenerProduct.apply(input, [type, listener]);
}
if(input.addEventListener)
input.addEventListener = addEventListenerWrapper;
else if(input.attachEvent)
input.attachEvent = addEventListenerWrapper;
})(create_pac_input);
$(function () {
var autocompleteproduct = new google.maps.places.Autocomplete(create_pac_input);
});
Komentarz został pomyślnie przesłany.
Post został pomyślnie dodany do Twojej osi czasu!
Osiągnąłeś limit 50000 znajomych!
Błąd rozmiaru pliku: plik przekracza dozwolony limit (488 MB) i nie można go przesłać.
Nie można przesłać pliku: ten typ pliku nie jest obsługiwany.
Wykryliśmy treści dla dorosłych na przesłanym przez Ciebie obrazie, dlatego odrzuciliśmy Twój proces przesyłania.
Twój post został przesłany, wkrótce sprawdzimy zawartość.
Aby przesyłać obrazy, filmy i pliki audio, musisz przejść na wersję Pro. Przejdź na wersje Pro