Ticket #5640 (closed defect: fixed)

Opened 10 months ago

Last modified 8 months ago

[patch]onChange doesn't work for dijit.Editor

Reported by: guest Owned by: doughays
Priority: high Milestone:
Component: Editor Version: 1.0
Severity: normal Keywords:
Cc: doughays, bill

Description

<textarea id="announcementEntrySummary" name="summary" cols="100" height="15" dojoType="dijit.Editor" onChange="document.getElementById('announcementEntryPreviewSummary').innerHTML = dijit.byId('announcementEntrySummary').getValue(false);">

summary

</textarea>

If I move away from editor with tab, the code works and the innerHTML changes. If I move away with a mouse click, onChange -function isn't executed.

Dojo 1.0.2, firefox 2.0.0.11 under ubuntu feisty

Attachments

5640.patch (0.5 kB) - added by doughays 10 months ago.
RichText?.js patch from #5290 for 1.0.x

Change History

Changed 10 months ago by doughays

  • cc doughays, bill added
  • priority changed from normal to high
  • component changed from Dijit to Editor
  • owner set to liucougar
  • milestone set to 1.0.3

This needs to be targetted for 1.0.3 for an existing IBM product install. IBM reference # 78960.

Changed 10 months ago by doughays

This seems to be working OK in 1.1. Hopefully the fix can be backported to 1.0.3.

Changed 10 months ago by doughays

RichText?.js patch from #5290 for 1.0.x

Changed 10 months ago by doughays

  • summary changed from onChange doesn't work for dijit.Editor to [patch]onChange doesn't work for dijit.Editor

I think this is a dup of #5290 but for 1.0.x.

Changed 9 months ago by dylan

  • owner changed from liucougar to alex
  • severity changed from critical to normal
  • milestone changed from 1.0.3 to 1.1

Changed 9 months ago by doughays

  • owner changed from alex to doughays

Changed 9 months ago by doughays

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

(In [12583]) Fixes #5640 !strict. Backport of [11770] from 1.1 to 1.0.x.

Changed 9 months ago by doughays

  • milestone changed from 1.1 to 1.0.3

Changed 8 months ago by anonymous

  • milestone deleted

Milestone 1.0.3 deleted

Note: See TracTickets for help on using tickets.