Opened 11 years ago

Closed 11 years ago

#12266 closed defect (fixed)

dojo.Stateful and name properties

Reported by: Mark Wubben Owned by: Kris Zyp
Priority: high Milestone: 1.6
Component: General Version: 1.6.0b1
Keywords: Cc:
Blocked By: Blocking:


I've tested this in Safari 5.0.3 and Chrome 10.0.648.18 dev. The way Stateful registers callbacks is by setting property names on the _watchCallbacks method. However, if the property name is name, the browser will automatically set it back to an empty string.

We should probably create a callbacks object (that could still be set on _watchCallbacks).

Tested with trunk, but probably also applies to 1.5.

Change History (3)

comment:1 Changed 11 years ago by bill

Owner: changed from anonymous to Kris Zyp

Does that mean you can't watch("name", ...)?

comment:2 Changed 11 years ago by Mark Wubben

Bill, yes indeed.

comment:3 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

Fixed with [23763]

Note: See TracTickets for help on using tickets.