add csrftoken into batch_output.html
This commit is contained in:
parent
b7e1f189a8
commit
459771c986
|
@ -45,6 +45,9 @@
|
||||||
<script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
|
<script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
$.ajaxSetup({
|
||||||
|
headers: {'X-CSRFToken':'{{ csrf_token() }}'},
|
||||||
|
});
|
||||||
function updateOutput()
|
function updateOutput()
|
||||||
{
|
{
|
||||||
var host = window.location.host;
|
var host = window.location.host;
|
||||||
|
|
Loading…
Reference in New Issue