Ticket #2254: 2254_3.patch
File 2254_3.patch, 1.8 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
46 46 <ul> 47 47 <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 48 48 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> 49 51 </ul> 50 52 <p> 51 53 </p> -
editor/_source/internals/fckselection_gecko.js
162 162 163 163 while ( oContainer ) 164 164 { 165 if ( oContainer.nodeType == 1 && oContainer. tagName == nodeTagName) return true ;165 if ( oContainer.nodeType == 1 && oContainer.nodeName.IEquals( nodeTagName ) ) return true ; 166 166 oContainer = oContainer.parentNode ; 167 167 } 168 168 … … 180 180 181 181 while ( oContainer ) 182 182 { 183 if ( oContainer.nodeName == nodeTagName)183 if ( oContainer.nodeName.IEquals( nodeTagName ) ) 184 184 return oContainer ; 185 185 186 186 oContainer = oContainer.parentNode ; -
editor/_source/internals/fckselection_ie.js
147 147 148 148 while ( oContainer ) 149 149 { 150 if ( oContainer. tagName == nodeTagName) return true ;150 if ( oContainer.nodeName.IEquals( nodeTagName ) ) return true ; 151 151 oContainer = oContainer.parentNode ; 152 152 } 153 153