Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
667 B

<script>
$( document ).ready(function() {
$("input[type='checkbox']").on('change', function() {
$(this).parent().find(".options > input").attr("disabled", $(this).prop('checked'));
});
});
function sendResponse() {
$('#hidden_form_item').val(JSON.stringify($('#container input').serializeArray()));
$.ajax({ type: 'POST', url: '{{ app.request.getSchemeAndHttpHost() }}{{ path('api_app_api_guardartareaapinonadmin_savetaskexternalmail', {'hash': hash})}}', data: $('form').serialize(), cache: false,}).done(function() {alert('Saved')}).fail(function() {alert('Error saving changes');});
}
</script>