Ticket #2254: 2254_2.patch

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

     
    112112                        properly wrap the text.</li>
    113113                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been
    114114                        changed from "&lt;?=" to "&lt;? echo".</li>
     115                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for
     116                        nodeTagName object.</li>
    115117        </ul>
    116118        <h3>
    117119                Version 2.6</h3>
  • 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.tagName.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.tagName.IEquals( nodeTagName ) ) return true ;
    151151                oContainer = oContainer.parentNode ;
    152152        }
    153153
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy