|
|
@ -121,6 +121,11 @@ |
|
|
$form.submit(function (e) { |
|
|
$form.submit(function (e) { |
|
|
e.preventDefault(); |
|
|
e.preventDefault(); |
|
|
var formAsObject = $form.serializeFormToObject(); |
|
|
var formAsObject = $form.serializeFormToObject(); |
|
|
|
|
|
|
|
|
|
|
|
if (formAsObject.repliedCommentId == ''){ |
|
|
|
|
|
formAsObject.repliedCommentId = null; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
volo.cmsKit.public.comments.commentPublic.create( |
|
|
volo.cmsKit.public.comments.commentPublic.create( |
|
|
$commentArea.attr('data-entity-type'), |
|
|
$commentArea.attr('data-entity-type'), |
|
|
$commentArea.attr('data-entity-id'), |
|
|
$commentArea.attr('data-entity-id'), |
|
|
|