Opened 16 years ago

Closed 16 years ago

#1264 closed defect (invalid)

RichText replaceEditorContent bug affecting Firefox

Reported by: guest Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


Dojo Version : 0.3.1 Firefox Version : Affected Component : RichText? Widget Email : caizonghe_at_yahoo_dot_com_dot_sg Issue:

An instance of the RichText? Widget was instantiated and an attempt to prepopulate the content with a given string fails in FF, and displays nothing instead.

Code Snippet: myInsertionPoint is a dom reference myRichTextBox = dojo.widget.fromScript("RichText?", {}, myInsertionPoint); myRichTextBox.replaceEditorContent("Test Content ");

Details: When calling the replaceEditorContent function in RichText?.js via FF, it fails all condition checks and does not execute any other functions directly.

Update: The issue seems to occur only if a widget is created and immediately an attempt to replace the content is made. A delay implemented using setInterval of 500 ms fixed the issue temporarily.

Change History (1)

comment:1 Changed 16 years ago by liucougar

Resolution: invalid
Status: newclosed

that is due to the limitation of FF: it takes some time in this case, no way around this AFAICT


Note: See TracTickets for help on using tickets.