[Bps-public-commit] rt-extension-commentoncreate branch master updated. 1.02-1-g1a74485

BPS Git Server git at git.bestpractical.com
Wed Apr 27 04:22:07 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-commentoncreate".

The branch, master has been updated
       via  1a74485b4772cc378d1a58ead415acf6d7f350a6 (commit)
      from  bb25564ad3cd5189d6a0e212991f13b2e08935dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1a74485b4772cc378d1a58ead415acf6d7f350a6
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Apr 27 12:18:41 2022 +0800

    Add a distinguishable placeholder for comment input
    
    Note that it only works on RT 5 for richtext input.

diff --git a/html/Callbacks/RT-Extension-CommentOnCreate/Ticket/Create.html/AfterMessageBox b/html/Callbacks/RT-Extension-CommentOnCreate/Ticket/Create.html/AfterMessageBox
index 4c00b28..407233b 100644
--- a/html/Callbacks/RT-Extension-CommentOnCreate/Ticket/Create.html/AfterMessageBox
+++ b/html/Callbacks/RT-Extension-CommentOnCreate/Ticket/Create.html/AfterMessageBox
@@ -65,11 +65,13 @@
                          Default => $ARGS{CommentContent},
                          IncludeSignature => 0,
                          IncludeArticle => 0,
+                         Placeholder => loc('Type your comment here'),
                          ($width ? (Width => $width) : ()),
                          ($height ? (Height => $height) : ())
 &>
 % } else {
 <& /Elements/MessageBox, Name => 'CommentContent',
+                         Placeholder => loc('Type your comment here'),
                          ($width ? (Width => $width) : ()),
                          ($height ? (Height => $height) : ())
 &>

-----------------------------------------------------------------------

Summary of changes:
 .../RT-Extension-CommentOnCreate/Ticket/Create.html/AfterMessageBox     | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
rt-extension-commentoncreate


More information about the Bps-public-commit mailing list