Closed YuriyKvit closed 7 years ago
You can create your own comment.js file and override the comment asset as follows:
'assetManager' => [
'bundles' => [
'yii2mod\comments\CommentAsset' => [
'js' => [
'your-own-comment.js',
]
],
],
]
Is it possible to change:
var formData = $commentForm.serializeArray();
to FormData object? To make file uploads.