[Bps-public-commit] rt-extension-quickreply branch, master, updated. 7a2bc79165672c156e7e3347e3f3e68e31d67466

? sunnavy sunnavy at bestpractical.com
Tue Sep 24 07:30:45 EDT 2013


The branch, master has been updated
       via  7a2bc79165672c156e7e3347e3f3e68e31d67466 (commit)
      from  9ce920decf8faa20bd33cbab0dc09f1b93534b90 (commit)

Summary of changes:
 html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 7a2bc79165672c156e7e3347e3f3e68e31d67466
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Sep 24 19:30:23 2013 +0800

    enable richtext for preview in search

diff --git a/html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory b/html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory
index 9b1bbf2..d4e9c35 100644
--- a/html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory
+++ b/html/Callbacks/QuickReply/Helpers/TicketPreview/AfterHistory
@@ -1 +1,9 @@
-<& /Ticket/Elements/QuickReply, %ARGS, ShowId => 0, &>
\ No newline at end of file
+<& /Ticket/Elements/QuickReply, %ARGS, ShowId => 0, &>
+
+% if ( RT->Config->Get('MessageBoxRichText',  $session{'CurrentUser'})) {
+<script type="text/javascript">
+jQuery( function() {
+    ReplaceAllTextareas(0);
+});
+</script>
+% }

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



More information about the Bps-public-commit mailing list