Team2 - For Testing New Workflow of Novel Meeting Invite changes3
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m35s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m35s
Details
This commit is contained in:
parent
257d30bef9
commit
0fe6d3c3df
|
|
@ -427,63 +427,6 @@ 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