Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#9934 closed defect (fixed)

dijit/themes/themeTester.html fails in IE7 on TextArea/Editor tab

Reported by: Jared Jurkiewicz Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit - Form Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

dijit/themes/themeTester.html fails in IE7 on TextArea/Editor? tab

When you click that tab in IE 7, it reports:

Line: 0
Invalid argument

Trying to see if I can get more information

Change History (8)

comment:1 Changed 10 years ago by Douglas Hays

RichText?.js is throwing an error in the layout method (negative height?):

this.editingArea.style.height=(this._contentBox.h - dojo.marginBox(this.toolbar.domNode).h)+"px";

comment:2 Changed 10 years ago by Douglas Hays

#9836 fixes a similar Textarea problem.

comment:3 Changed 10 years ago by Jared Jurkiewicz

Doug is right. I did a bit of debut and that line:

this.editingArea.style.height=(this._contentBox.h - dojo.marginBox(this.toolbar.domNode).h)+"px";

is trying to set height to -1px;

Not sure why it's suddenly doing this in 1.4.

Any ideas, Bill?

comment:4 Changed 10 years ago by Jared Jurkiewicz

and the file in question is dijit/Editor.js, function: layout

comment:5 Changed 10 years ago by Jared Jurkiewicz

Owner: set to bill

comment:6 Changed 10 years ago by bill

Milestone: tbd1.4
Status: newassigned

Editor.resize() is calling _LayoutWidget.resize(); must be breaking from my recent changes there.

comment:7 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [20208]) Editor.resize() with no argument should do nothing. (ContentPane? as a child of TabContainer? calls resize() on all it's children when it's shown.) Fixes #9934 !strict.

comment:8 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.