Changeset 1114

Show
Ignore:
Timestamp:
2007-11-24 14:13:00 (2 years ago)
Author:
fredck
Message:

Fixed #1557 : The "Automatic" and "More colors..." buttons were improperly styled in the color selector panels with Firefox 3 and Opera.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js

    r929 r1114  
    142142        FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_AutoOnClick, this ) ; 
    143143 
    144         if ( FCKBrowserInfo.IsSafari ) 
     144        // Dirty hack for Opera, Safari and Firefox 3. 
     145        if ( !FCKBrowserInfo.IsIE ) 
    145146                oDiv.style.width = '96%' ; 
    146147 
     
    179180        } 
    180181 
    181         if ( FCKBrowserInfo.IsSafari ) 
     182        // Dirty hack for Opera, Safari and Firefox 3. 
     183        if ( !FCKBrowserInfo.IsIE ) 
    182184                oDiv.style.width = '96%' ; 
    183185} 
  • FCKeditor/trunk/_whatsnew.html

    r1113 r1114  
    123123                                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links 
    124124                                        now get underlined.</li> 
     125                                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic" 
     126                                        and "More colors..." buttons were improperly styled in the color selector panels 
     127                                        (Opera too).</li> 
    125128                        </ul> 
    126129                </li>