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

sartak at bestpractical.com sartak at bestpractical.com
Fri Jun 6 16:39:39 EDT 2008


Author: sartak
Date: Fri Jun  6 16:39:39 2008
New Revision: 12994

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

Log:
 r61795 at onn:  sartak | 2008-06-06 16:36:43 -0400
 Don't even try to replace all textareas with FCKeditor if we're running an incompatible browser version


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 16:39:39 2008
@@ -65,6 +65,9 @@
 
 % if ( RT->Config->Get('MessageBoxRichText',  $session{'CurrentUser'})) {
     function ReplaceAllTextareas() {
+        if (!FCKeditor_IsCompatibleBrowser())
+            return false;
+
         // replace all content and signature message boxes
         var allTextAreas = document.getElementsByTagName("textarea");
 


More information about the Rt-commit mailing list