Changeset 422
- Timestamp:
- 2007-07-08 19:16:01 (17 months ago)
- Location:
- FCKeditor/trunk/editor/_source/internals
- Files:
-
- 2 modified
-
fcktools_gecko.js (modified) (1 diff)
-
fckundo.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fcktools_gecko.js
r411 r422 51 51 { 52 52 var e = documentElement.createElement( "STYLE" ) ; 53 e. innerHTML = cssStyles;53 e.appendChild( documentElement.createTextNode( cssStyles ) ) ; 54 54 documentElement.getElementsByTagName( "HEAD" )[0].appendChild( e ) ; 55 55 } -
FCKeditor/trunk/editor/_source/internals/fckundo.js
r410 r422 101 101 return ; 102 102 // Save the selection and caret position in the first undo level for the first change. 103 else if ( this.CurrentIndex == 0 && sHtml == this.SavedData[0][0] )103 else if ( this.CurrentIndex == 0 && this.SavedData.length && sHtml == this.SavedData[0][0] ) 104 104 { 105 105 this.SavedData[0][1] = this._GetBookmark() ;