Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1764 closed defect (fixed)

drh is Undefined in RichText

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

Description

In the rich text editor widget, on line 1173 of RichText?.js, "drh" is referenced before assignment in "else if (drh.ie)...". This prevents "execCommand('formatblock')" from working in both FF and IE (in non-activeX mode).

Possible solutions: either "var drh = dojo.render.html" should appear earlier, or the line should be changed to "else if (dojo.render.html.ie)..." .

I apologize if this bug has already been ticketed somewhere or been fixed already, I looked around Trac and couldn't find it anywhere.

Great work on .4, by the way.

Change History (3)

comment:1 Changed 13 years ago by bill

Component: WidgetsEditor
Owner: changed from bill to liucougar

comment:2 Changed 13 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [6344]) fixes #1764: drh is Undefined in RichText?

comment:3 Changed 13 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.