Ticket #2254: 2254_3.patch

File 2254_3.patch, 1.8 KB (added by Martin Kou, 16 years ago)
  • _whatsnew.html

     
    4646        <ul>
    4747                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space
    4848                        character.</li>
     49                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for
     50                        nodeTagName object.</li>
    4951        </ul>
    5052        <p>
    5153        </p>
  • editor/_source/internals/fckselection_gecko.js

     
    162162
    163163        while ( oContainer )
    164164        {
    165                 if ( oContainer.nodeType == 1 && oContainer.tagName == nodeTagName ) return true ;
     165                if ( oContainer.nodeType == 1 && oContainer.nodeName.IEquals( nodeTagName ) ) return true ;
    166166                oContainer = oContainer.parentNode ;
    167167        }
    168168
     
    180180
    181181        while ( oContainer )
    182182        {
    183                 if ( oContainer.nodeName == nodeTagName )
     183                if ( oContainer.nodeName.IEquals( nodeTagName ) )
    184184                        return oContainer ;
    185185
    186186                oContainer = oContainer.parentNode ;
  • editor/_source/internals/fckselection_ie.js

     
    147147
    148148        while ( oContainer )
    149149        {
    150                 if ( oContainer.tagName == nodeTagName ) return true ;
     150                if ( oContainer.nodeName.IEquals( nodeTagName ) ) return true ;
    151151                oContainer = oContainer.parentNode ;
    152152        }
    153153
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy