Opened 12 years ago

Closed 12 years ago

#4024 closed defect (fixed)

Autosave text area, first char entry results in newline

Reported by: ptbrunet Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Cc: brunet@…
Blocked By: Blocking:

Description

  1. Load http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_InlineEditBox.html
  2. tab down to the second widget that starts with "I'm one big paragraph...."
  3. press enter
  4. press esc
  5. press enter
  6. press the x key
  7. stop - do nothing else - look at what was entered. I see x on one line and the original text on the next line. That newline shouldn't be there.

Side effects:

  1. after doing the above, pressing esc doesn't revert, but closes the box
  2. the closed box doesn't show the x
  3. reopen the box, the x and the first line are visible in the box but not the last line

Change History (2)

comment:1 Changed 12 years ago by bill

Owner: changed from bill to Douglas Hays

comment:2 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [10082]) Fixes #4024. For FF, made the TextArea?'s body tag within the iframe editable instead of the div child so that FF doesn't mistake what is being edited.

Note: See TracTickets for help on using tickets.