Hi rt-users,<br><br>Here's a quick patch I made to add some whitespace to the top of the message when replying to a message. It makes it easier to just start typing if you have FCKeditor set to StartupFocus.<br clear="all">
<br><br>--- MessageBox 2009-01-28 21:37:01.000000000 -0500<br>+++ /usr/local/share/request-tracker3.8/html/Elements/MessageBox 2009-01-28 22:28:23.000000000 -0500<br>@@ -47,7 +47,7 @@<br> %# END BPS TAGGED BLOCK }}}<br>
<textarea class="messagebox" cols="<% $Width %>" rows="<% $Height %>" wrap="<% $Wrap %>" name="<% $Name %>">\<br> % $m->callback( %ARGS );<br>
-<% $Default || '' %><% $message %><% $signature %></textarea><br>+<% $Default || '' %><% $whitespace %><% $message %><% $signature %></textarea><br> <%INIT><br>
<br> my $message = '';<br>@@ -63,6 +63,10 @@<br> $signature = "-- \n". $text;<br> }<br><br>+my $whitespace = '';<br>+if ( $message ) {<br>+ $whitespace = "\n\n\n";<br>+}<br> </%INIT><br>
<%ARGS><br> $QuoteTransaction => undef<br><br><br>BTW, I caught on that making changes in local/html/NoAuth/RichText/FCKeditor/fckconfig.js doesn't work; where's the best place to override the FCKeditor configuration to enable the option FCKConfig.StartupFocus = true; ? Even better, how about making this the default option, as no other fields seem to get the focus anyway.<br>
<br>-- <br>...................<br>Adam Tingle<br><br>