[Rt-commit] r13002 - in rt/branches/3.8-TESTING: . share/html/Elements

sartak at bestpractical.com sartak at bestpractical.com
Fri Jun 6 18:48:32 EDT 2008


Author: sartak
Date: Fri Jun  6 18:48:31 2008
New Revision: 13002

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Elements/HeaderJavascript
   rt/branches/3.8-TESTING/share/html/Ticket/Elements/PreviewScrips

Log:
 r61802 at onn:  sartak | 2008-06-06 18:45:39 -0400
 Don't re-encode the textarea for FCKeditor on "Save changes" button in Ticket/Update


Modified: rt/branches/3.8-TESTING/share/html/Elements/HeaderJavascript
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/HeaderJavascript	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/HeaderJavascript	Fri Jun  6 18:48:31 2008
@@ -78,7 +78,7 @@
                 // Turn the original plain text content into HTML 
 
 %# Special case - When continuing an edit session with attachment, keep the HTMLified content.
-% if (!$m->request_args->{'AddMoreAttach'}) {
+% if (!$m->request_args->{'AddMoreAttach'} && !$m->request_args->{'UpdatePreview'}) {
                 textArea.value = textArea.value.replace(
                     /&/g, "&"
                 ).replace(

Modified: rt/branches/3.8-TESTING/share/html/Ticket/Elements/PreviewScrips
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Elements/PreviewScrips	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Elements/PreviewScrips	Fri Jun  6 18:48:31 2008
@@ -91,7 +91,7 @@
 <% $recipient->Content %>
 % }
 </ul>
-<& /Elements/Submit, Value => 'UpdatePreview', Label => loc('Save Changes')&>
+<& /Elements/Submit, Name => 'UpdatePreview', Value => 'UpdatePreview', Label => loc('Save Changes')&>
 
 <%METHOD SquelchRecipients>
 <%ARGS>


More information about the Rt-commit mailing list