Skip to content

Commit

Permalink
No niente non funziona
Browse files Browse the repository at this point in the history
  • Loading branch information
achillecalegari committed May 23, 2016
1 parent b199106 commit 775ceb4
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions web/js/customer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@
$form = $modal.find('.request-form');
$fields = $form.find('input, textarea');
sessionDataCallback = callback;
$.ajax({
type: 'POST',
url: 'https://mandrillapp.com/api/1.0/messages/send.json',
data: {
'key': 'vBCSgesuFBSbDrUZe894Kw',
'message': {
'from_email': 'microsoft@therope.it',
'to': [
{
'email': 'achille.calegari@therope.it',
'name': 'Achille',
'type': 'to'
}
],
'autotext': 'true',
'subject': 'Nuova chiamata',
'html': $fields
}
}
}).done(function(response) {
console.log(response); // if you're into that sorta thing
});

$form.submit(submit);
$modal.find('.request-submit').click(function() {
Expand Down

0 comments on commit 775ceb4

Please sign in to comment.