Working state

This commit is contained in:
julien
2026-03-16 02:55:50 +01:00
parent 55d2da9f2f
commit 1f4262d952
2 changed files with 21 additions and 3 deletions

View File

@@ -130,7 +130,20 @@
serverPath: '/admin/media/upload',
fileFieldName: 'file',
urlPropertyName: 'url',
statusPropertyName: 'success'
statusPropertyName: 'success',
headers: {
'X-Requested-With': 'XMLHttpRequest'
},
data: [
{
name: '{{ csrf.keys.name }}',
value: '{{ csrf.name }}'
},
{
name: '{{ csrf.keys.value }}',
value: '{{ csrf.value }}'
}
]
}
}
});