Opened 13 years ago
Closed 13 years ago
#6332 closed defect (fixed)
InlineEditBox/TextArea: exception on start of edit (FF2 and FF3)
Reported by: | bill | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Dijit | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
On themeTester.html, click the InlineEditBox / Textarea ("I'm one big paragraph. Go ahead and edit me") example to start edit.
At least on my machines, for FF2 and FF3, I get an exception that node.value is not defined
, from this stack:
InlineEditBox::edit() setTimeout() _InlineEditor::focus() dijit.selectInputText()
In other words, it fails on this line: if(isNaN(stop)){ stop = element.value.length; }
, trying to highlight the text in the Textarea widget, which is not surprising since a contentEditable div (on FF3) doesn't have a value attribute (right?), nor does the body tag of an iframe (on FF2)
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by revision [13215]. Reviewed/approved by bill.
Note: See
TracTickets for help on using
tickets.
Note: this may only be an issue if firebug is installed; otherwise, the exception that occurs inside the setTimeout() may just be swallowed up and ignored.