From e7663c7bda52bb0385c8d10e8af1c9a2dd254110 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 13 Nov 2020 08:24:42 -0500 Subject: [PATCH] Some minor bug fixes in the FieldtypeComments classes and javascript. --- wire/modules/Fieldtype/FieldtypeComments/Comment.php | 1 + .../Fieldtype/FieldtypeComments/CommentFormCustom.php | 6 +++--- wire/modules/Fieldtype/FieldtypeComments/comments.js | 9 +++++++-- wire/modules/Fieldtype/FieldtypeComments/comments.min.js | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/wire/modules/Fieldtype/FieldtypeComments/Comment.php b/wire/modules/Fieldtype/FieldtypeComments/Comment.php index e5c4fae3..ddb556a5 100644 --- a/wire/modules/Fieldtype/FieldtypeComments/Comment.php +++ b/wire/modules/Fieldtype/FieldtypeComments/Comment.php @@ -34,6 +34,7 @@ * @property-read int $depth Current comment depth (since 3.0.149) * @property-read bool $loaded True when comment is fully loaded from DB (since 3.0.149) * @property-read int $numChildren Number of children with no exclusions. See and use numChildren() method for more options. (since 3.0.154) + * @property-read User $createdUser User that created the comment * */ diff --git a/wire/modules/Fieldtype/FieldtypeComments/CommentFormCustom.php b/wire/modules/Fieldtype/FieldtypeComments/CommentFormCustom.php index 1b642682..70ce8646 100644 --- a/wire/modules/Fieldtype/FieldtypeComments/CommentFormCustom.php +++ b/wire/modules/Fieldtype/FieldtypeComments/CommentFormCustom.php @@ -111,20 +111,20 @@ class CommentFormCustom extends CommentForm {