Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html (revision 1113)
+++ /FCKeditor/trunk/_whatsnew.html (revision 1114)
@@ -123,4 +123,7 @@
[#1554] Links
now get underlined.
+ [#1557] The "Automatic"
+ and "More colors..." buttons were improperly styled in the color selector panels
+ (Opera too).
Index: /FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js
===================================================================
--- /FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js (revision 1113)
+++ /FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js (revision 1114)
@@ -142,5 +142,6 @@
FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_AutoOnClick, this ) ;
- if ( FCKBrowserInfo.IsSafari )
+ // Dirty hack for Opera, Safari and Firefox 3.
+ if ( !FCKBrowserInfo.IsIE )
oDiv.style.width = '96%' ;
@@ -179,5 +180,6 @@
}
- if ( FCKBrowserInfo.IsSafari )
+ // Dirty hack for Opera, Safari and Firefox 3.
+ if ( !FCKBrowserInfo.IsIE )
oDiv.style.width = '96%' ;
}