Ticket #2525: 2525.patch
File 2525.patch, 1.3 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
62 62 now are shown properly.</li> 63 63 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using the Paste 64 64 dialogs in IE might insert the content at the start of the editor.</li> 65 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2525">#2525</a>] Fixed JavaScript 66 error in Google Chrome when StartupShowBlocks is set to true.</li> 65 67 </ul> 66 68 <p> 67 69 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/commandclasses/fckshowblocks.js
56 56 else 57 57 { 58 58 var focus = FCK.EditorWindow.getSelection().focusNode ; 59 if ( focus.nodeType != 1 ) 60 focus = focus.parentNode ; 61 FCKDomTools.ScrollIntoView( focus, false ) ; 59 if ( focus ) 60 { 61 if ( focus.nodeType != 1 ) 62 focus = focus.parentNode ; 63 FCKDomTools.ScrollIntoView( focus, false ) ; 64 } 62 65 } 63 66 64 67 FCK.Events.FireEvent( 'OnSelectionChange' ) ;