@stop
@section('JS')
@stop
@section('JSOr')
$("#frmEditarZoom").submit(function(e){
e.preventDefault();
var frmEditarZoom = new FormData(document.getElementById("frmEditarZoom"));
$.ajax({
type: "POST",
url: "{{ URL::route('SysWebSoporteVideoconferenciasZoomEditar', [$VideoconfZoom->id]) }}",
data: frmEditarZoom,
cache: false,
contentType: false,
processData: false,
dataType: "json",
success: function(data){
if(data.success){
new PNotify({ title: "Realizado", text: data.mensaje, type: "success" });
setTimeout( function(){ window.location.href = "{{ URL::route('SysWebSoporteVideoconferenciasZoomListar') }}"; }, 2000 );
}else{
new PNotify({ title: "Realizado", text: data.mensaje, type: "error" });
}
},
error: function(jqXHR, textStatus, errorThrown){
console.log(jqXHR.responseText);
new PNotify({ title: "Error", text: textStatus + " " + errorThrown, type: "error" });
}
});
});
@stop