Team2 - For Testing New Workflow of Novel Meeting Invite changes1
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m38s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m38s
Details
This commit is contained in:
parent
2d1bb6b5cd
commit
93e06e088a
|
|
@ -427,6 +427,63 @@ if(isset($history->data->submissions) && is_iterable($history->data->submissions
|
||||||
// },
|
// },
|
||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
|
$('#image-form').on('submit', function(event){
|
||||||
|
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
$("#pageloader").fadeIn();
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
|
||||||
|
type: "POST",
|
||||||
|
|
||||||
|
url: '/form/submitpersonalizedimages',
|
||||||
|
|
||||||
|
data: new FormData($('#image-form')[0]),
|
||||||
|
|
||||||
|
processData: false,
|
||||||
|
|
||||||
|
contentType: false,
|
||||||
|
|
||||||
|
success: function(data){
|
||||||
|
|
||||||
|
$("#pageloader").fadeOut();
|
||||||
|
|
||||||
|
Swal.fire({
|
||||||
|
|
||||||
|
icon: 'success',
|
||||||
|
|
||||||
|
title: 'Request Submitted',
|
||||||
|
|
||||||
|
text: 'Request has been sent to manager for approval.'
|
||||||
|
|
||||||
|
}).then(function(){
|
||||||
|
|
||||||
|
location.reload();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
error:function(){
|
||||||
|
|
||||||
|
$("#pageloader").fadeOut();
|
||||||
|
|
||||||
|
Swal.fire({
|
||||||
|
|
||||||
|
icon:'error',
|
||||||
|
|
||||||
|
title:'Error',
|
||||||
|
|
||||||
|
text:'Something went wrong.'
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue