foglalás időpont +1 órás baszakodás
This commit is contained in:
@@ -458,26 +458,12 @@
|
||||
}
|
||||
|
||||
function setWorker(worker_id){
|
||||
$('#worker_id').val(worker_id);
|
||||
|
||||
$.ajax({
|
||||
url: '<?php echo base_url();?>ajax',
|
||||
type: 'POST',
|
||||
data: {
|
||||
action:'getSelectedWorker',
|
||||
worker_id:worker_id
|
||||
},
|
||||
error: function() {
|
||||
},
|
||||
//dataType: 'json',
|
||||
success: function(data) {
|
||||
},
|
||||
}).done(function(result){
|
||||
$('.serviceBookingWorkerContainer').show();
|
||||
$('.serviceBookingWorkerContainer').html(result);
|
||||
|
||||
});
|
||||
}
|
||||
// csak az aktuális worker ID-t állítjuk be a formban
|
||||
$('#worker_id').val(worker_id);
|
||||
|
||||
// ne jelenjen meg worker név/kép a jobb oldali panelen
|
||||
$('.serviceBookingWorkerContainer').hide().html('');
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user