Ticket #2616: 2616.patch
File 2616.patch, 1.9 KB (added by , 15 years ago) |
---|
-
_whatsnew.html
104 104 after being defocused.</li> 105 105 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2611">#2611</a>] Fixed an extra slash 106 106 on quickupload of the asp connector.</li> 107 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2616">#2616</a>] Fixed another situation 108 where new elements were inserted at the beginning of the content.</li> 107 109 </ul> 108 110 <p> 109 111 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/internals/fckdialog.js
94 94 TopWindow : topWindow 95 95 } 96 96 97 FCK.ToolbarSet.CurrentInstance.Selection.Save( ) ;97 FCK.ToolbarSet.CurrentInstance.Selection.Save( true ) ; 98 98 99 99 // Calculate the dialog position, centering it on the screen. 100 100 var viewSize = FCKTools.GetViewPaneSize( topWindow ) ; -
editor/_source/internals/fckselection_ie.js
210 210 return FCK.EditorDocument.selection ; 211 211 } 212 212 213 FCKSelection.Save = function( )213 FCKSelection.Save = function( lock ) 214 214 { 215 215 var editorDocument = FCK.EditorDocument ; 216 216 217 217 if ( !editorDocument ) 218 218 return ; 219 219 220 // Avoid saving again a selection while a dialog is open #2616 221 if ( this.locked ) 222 return ; 223 this.locked = !!lock ; 224 220 225 var selection = editorDocument.selection ; 221 226 var range ; 222 227 … … 277 282 278 283 FCKSelection.Release = function() 279 284 { 285 this.locked = false ; 280 286 delete this.SelectionData ; 281 287 }