Changeset 2046


Ignore:
Timestamp:
06/09/08 07:28:18 (7 years ago)
Author:
martinkou
Message:

Fixed #2254 : Minor fix in fckselection for nodeName attribute detection.

Location:
FCKeditor/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r2043 r2046  
    115115                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been 
    116116                        changed from "&lt;?=" to "&lt;? echo".</li>  
     117                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for 
     118                        nodeName attribute detection.</li>  
    117119        </ul> 
    118120        <h3> 
  • FCKeditor/trunk/editor/_source/internals/fckselection_gecko.js

    r1795 r2046  
    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        } 
     
    181181        while ( oContainer ) 
    182182        { 
    183                 if ( oContainer.nodeName == nodeTagName ) 
     183                if ( oContainer.nodeName.IEquals( nodeTagName ) ) 
    184184                        return oContainer ; 
    185185 
  • FCKeditor/trunk/editor/_source/internals/fckselection_ie.js

    r1971 r2046  
    148148        while ( oContainer ) 
    149149        { 
    150                 if ( oContainer.tagName == nodeTagName ) return true ; 
     150                if ( oContainer.tagName.IEquals( nodeTagName ) ) return true ; 
    151151                oContainer = oContainer.parentNode ; 
    152152        } 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy