Ticket #1934: 1934.patch
File 1934.patch, 976 bytes (added by , 17 years ago) |
---|
-
editor/dialog/fck_specialchar.html
45 45 oEditor.FCKUndo.SaveUndoStep() ; 46 46 parent.Selection.EnsureSelection() ; 47 47 oEditor.FCK.InsertHtml( charValue || "" ) ; 48 if ( oEditor.FCKDialog.SelectionData ) 49 oEditor.FCKDialog.SelectionData = oEditor.FCK.EditorDocument.selection.createRange() ; 48 50 window.parent.Cancel() ; 49 51 } 50 52 -
editor/fckdialog.html
386 386 EnsureSelection : function() 387 387 { 388 388 if ( FCKDialog.SelectionData ) 389 FCKDialog.SelectionData.select() ; 389 { 390 try 391 { 392 FCKDialog.SelectionData.select() ; 393 } 394 catch ( e ) {} 395 } 390 396 }, 391 397 392 398 /**