Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#5640 closed defect (fixed)

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

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone:
Component: Editor Version: 1.0
Keywords: Cc: Douglas Hays, bill
Blocked By: Blocking:

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 (1)

5640.patch (544 bytes) - added by Douglas Hays 12 years ago.
RichText?.js patch from #5290 for 1.0.x

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by Douglas Hays

Cc: Douglas Hays bill added
Component: DijitEditor
Milestone: 1.0.3
Owner: set to liucougar
Priority: normalhigh

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

comment:2 Changed 12 years ago by Douglas Hays

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

Changed 12 years ago by Douglas Hays

Attachment: 5640.patch added

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

comment:3 Changed 12 years ago by Douglas Hays

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

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

comment:4 Changed 12 years ago by dylan

Milestone: 1.0.31.1
Owner: changed from liucougar to alex
severity: criticalnormal

comment:5 Changed 12 years ago by Douglas Hays

Owner: changed from alex to Douglas Hays

comment:6 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

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

comment:7 Changed 12 years ago by Douglas Hays

Milestone: 1.11.0.3

comment:8 Changed 11 years ago by (none)

Milestone: 1.0.3

Milestone 1.0.3 deleted

Note: See TracTickets for help on using tickets.