Changeset 1601
- Timestamp:
- 2008-02-24 16:12:23 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/common/fck_dialog_common.js
r1598 r1601 274 274 { 275 275 CopyAttributes( oldNode, oNewNode, oAttributes ) ; 276 MoveContents( oldNode, oNewNode ) ;276 oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ; 277 277 oldNode.parentNode.removeChild( oldNode ) ; 278 278 oldNode = null ; … … 337 337 } 338 338 339 // Move the contents from one node to the other340 function MoveContents( oSource, oDest )341 {342 while ( oSource.firstChild )343 {344 var oNode = oSource.removeChild( oSource.firstChild ) ;345 oDest.appendChild( oNode ) ;346 }347 }