Opened 12 years ago

Closed 12 years ago

#3497 closed defect (fixed)

Editor: this.domNode.parentNode.removeNode is not a function

Reported by: guest Owned by: alex
Priority: high Milestone: 0.9
Component: Editor Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

hi .. I was working on 0.9 book and so was reading tests from the nightly builds ..

If opened in a fresh page, firebug doesnt give any error , but when i refresh the page, I get one error which is give below

this.domNode.parentNode.removeNode is not a function RichText?.js (line 1775) [Break on this error] this.domNode.parentNode.removeNode(this.domNode);

I am using firefox 2.0.0.4 on a ubuntu machine ...

Attachments (1)

Screenshot-1.png (112.9 KB) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by guest

Attachment: Screenshot-1.png added

comment:2 Changed 12 years ago by guest

After looking here and there for a while, I realise that RichText? is different than a WYISWYG, I am sorry if I caused major chaos ..

comment:3 Changed 12 years ago by bill

Component: GeneralEditor
Description: modified (diff)
Milestone: 0.9
Owner: changed from anonymous to alex
Priority: highnormal
Summary: Editor test not running ..Editor: this.domNode.parentNode.removeNode is not a function

comment:4 Changed 12 years ago by tk

Going to the link above, I get no error in FF... I would assume that parentNode.removeNode (if it still exists in the code) should be parentNode.removeChild()

comment:5 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9479]) Forgotten update to use dojo._destroyElement(). Fixes #3497.

Note: See TracTickets for help on using tickets.