Changeset 444
- Timestamp:
- 2007-07-13 19:39:53 (18 months ago)
- Location:
- FCKeditor/trunk/editor/_source/classes
- Files:
-
- 2 modified
-
fckdomrange_gecko.js (modified) (1 diff)
-
fckdomrange.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckdomrange_gecko.js
r435 r444 30 30 var oSel = this.Window.getSelection() ; 31 31 32 if ( oSel .rangeCount > 0 )32 if ( oSel && oSel.rangeCount > 0 ) 33 33 { 34 34 this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ; -
FCKeditor/trunk/editor/_source/classes/fckdomrange.js
r408 r444 280 280 CreateBookmark2 : function() 281 281 { 282 // If there is no range then get out of here. 283 // It happens on initial load in Safari #962 and if the editor it's hidden also in Firefox 284 if ( ! this._Range ) 285 return { "Start" : 0, "End" : 0 } ; 286 282 287 // First, we record down the offset values 283 288 var bookmark =