Changeset 325

Show
Ignore:
Timestamp:
2007-05-26 11:49:27 (3 years ago)
Author:
alfonsoml
Message:

Fix for #505, the code to protect the removal of captions in IE had been removed some time ago and now it crashed.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_table.html

    r132 r325  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
    22<!-- 
    33 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 
     
    131131        } 
    132132        else if ( bExists && eCaption ) 
    133                 eCaption.parentNode.removeChild( eCaption ) ; 
     133        { 
     134                if ( oEditor.FCKBrowserInfo.IsIE ) 
     135                        eCaption.innerHTML = '' ;       // TODO: It causes an IE internal error if using removeChild or table.deleteCaption(). 
     136                else 
     137                        eCaption.parentNode.removeChild( eCaption ) ; 
     138        } 
    134139 
    135140        if (! bExists) 
  • FCKeditor/trunk/_whatsnew.html

    r323 r325  
    100100                        The HR tag will not anymore break the contents loaded in the editor. </li> 
    101101                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/508">#508</a>] The HR command 
    102                         had a typo. </li> 
     102                        had a typo.</li> 
     103                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/505">#505</a>] Regression: 
     104                        IE crashed if a table caption was deleted.</li> 
    103105        </ul> 
    104106        <h3>