Changeset 1732

Show
Ignore:
Timestamp:
2008-03-19 10:31:32 (2 years ago)
Author:
martinkou
Message:

Fixed #2002 : Fixed the issue where the maximize editor button does not vertically expand the editing area in Firefox.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/fckeditor.html

    r1598 r1732  
    341341        { 
    342342                // Running in Chrome makes the window receive the event including subframes. 
    343                 // we care only about this window. Ticket #1642 
    344                 if ( e && e.originalTarget !== document ) 
     343                // we care only about this window. Ticket #1642. 
     344                // #2002: The originalTarget from the event can be the current document, the window, or the editing area. 
     345                if ( e && e.originalTarget !== document && e.originalTarget !== window && e.originalTarget.ownerDocument != document ) 
    345346                        return ; 
    346347 
     
    350351                if ( eInnerElement ) 
    351352                { 
    352                         eInnerElement.style.height = 0 ; 
    353                         eInnerElement.style.height = oCell.scrollHeight - 2 ; 
     353                        eInnerElement.style.height = '0px' ; 
     354                        eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ; 
    354355                } 
    355356        } 
  • FCKeditor/trunk/_whatsnew.html

    r1731 r1732  
    100100                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 
    101101                        JavaScript error when EnterMode=br and user tries to insert a page break.</li> 
     102                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed 
     103                        the issue where the maximize editor button does not vertically expand the editing 
     104                        area in Firefox.</li> 
    102105        </ul> 
    103106        <h3>