Ticket #5584: 5584_2.patch

File 5584_2.patch, 505 bytes (added by Garry Yao, 14 years ago)
  • _source/core/dom/element.js

     
    14721472                        this.moveChildren( newNode );
    14731473
    14741474                        // Replace the node.
    1475                         this.$.parentNode.replaceChild( newNode.$, this.$ );
     1475                        this.getParent() && this.$.parentNode.replaceChild( newNode.$, this.$ );
    14761476                        newNode.$._cke_expando = this.$._cke_expando;
    14771477                        this.$ = newNode.$;
    14781478                },
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy