Changeset 848
- Timestamp:
- 09/19/07 18:05:47 (6 years ago)
- Location:
- FCKeditor/trunk/editor/_source
- Files:
-
- 2 edited
-
commandclasses/fckindentcommands.js (modified) (1 diff)
-
internals/fckdomtools.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js
r846 r848 268 268 // And replace the old list with the new forest. 269 269 var newList = FCKDomTools.ArrayToList( listArray ) ; 270 listNode.parentNode.replaceChild( newList.listNode, listNode ) ; 270 if ( newList ) 271 listNode.parentNode.replaceChild( newList.listNode, listNode ) ; 271 272 272 273 // Clean up the markers. -
FCKeditor/trunk/editor/_source/internals/fckdomtools.js
r846 r848 645 645 }, 646 646 647 // Convert our internal representation of a list back to a DOM tree.647 // Convert our internal representation of a list back to a DOM forest. 648 648 ArrayToList : function( listArray, baseIndex ) 649 649 { … … 702 702 } 703 703 else 704 break;704 return null ; 705 705 706 706 if ( listArray.length <= currentIndex || Math.max( listArray[currentIndex].indent, 0 ) < indentLevel )
Note: See TracChangeset
for help on using the changeset viewer.
