actually, it's chrome's bug, which is fixed already, and I believe
the fix will be included in the next release of chrome.

see also http://code.google.com/p/chromium/issues/detail?id=62123

for users who want it now, I attached the workaround patch too.

best wishes
sunnavy

On 10-11-25 08:35, sunnavy wrote:
> it's indeed a bug of fckeditor, I have filed a bug report,
> see http://dev.ckeditor.com/ticket/6717
> 
> best wishes
> sunnavy
> 
> On 10-11-22 14:26, Gary Holmes wrote:
> > Hi all,
> > 
> > We're using RT 3.8.4 on Ubuntu 10.10. I've noticed recently that the
> > textarea that is used to input comments on tickets is not displaying when
> > I'm using Google Chrome. I have 9.0.587.0 but the issue occurred on releases
> > prior to that. Nothing has changed for our setup except the updates to
> > Chrome, so I'm assuming that it's related.
> > 
> > If I use IE or Firefox - no problem.
> > 
> > From the source produced by .../Ticket/Update.html, in firefox:
> > 
> > <textarea class="messagebox" cols="72" rows="15" name="UpdateContent" id=
> > "UpdateContent">
> > 
> > In Chrome:
> > 
> > <textarea class="messagebox" cols="72" rows="15" name="UpdateContent"
> > id="UpdateContent" style="display: none; ">
> > 
> > I suspect this behavior is programmed in. It used to work OK. Is there
> > a workaround or a fix for this?
> > 
> > Thanks,
> > 
> > Gary
diff --git a/share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.html b/share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.html
index b6ada3e..d6abf1e 100644
--- a/share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.html
+++ b/share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.html
@@ -33,14 +33,7 @@
 // without security.fileuri.strict_origin_policy disabled.
 if ( document.location.protocol == 'file:' )
 {
-	try
-	{
-		window.parent.document.domain ;
-	}
-	catch ( e )
-	{
-		window.addEventListener( 'load', function()
-			{
+    var firefox_alert = function () {
 				document.body.innerHTML = '\
 					<div style="border: 1px red solid; font-family: arial; font-size: 12px; color: red; padding:10px;">\
 						<p>\
@@ -56,7 +49,16 @@ if ( document.location.protocol == 'file:' )
 							for more information.\
 						<\/p>\
 					<\/div>' ;
-			}, false ) ;
+
+    };
+
+	try
+	{
+		window.parent.document.domain ;
+	}
+	catch ( e )
+	{
+		window.addEventListener( 'load', firefox_alert, false );
 	}
 }
 

Reply via email to