Ticket #6332 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

InlineEditBox/TextArea: exception on start of edit (FF2 and FF3)

Reported by: bill Owned by: doughays
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc:

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

Changed 8 months ago by bill

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.

Changed 8 months ago by doughays

  • status changed from new to closed
  • resolution set to fixed

Fixed by revision [13215]. Reviewed/approved by bill.

Note: See TracTickets for help on using tickets.