Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1246 closed defect (fixed)

Error hide/show a widget

Reported by: fzhu@… Owned by: Douglas Hays
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc: peller@…
Blocked By: Blocking:

Description

invoking hide(), show() on a dojo widget get a error message like:

"this.toggleObj is null or not object"

For example, add

<button onclick="dojo.widget.byId('cb1').hide();">Hide</button>

at the end of file /tests/widget/test_Checkbox.html, and click the button, the browser will report the error message.

This error occurs on the latest nightly build(2006-08-07) and some early versions.

Attachments (2)

test_Checkbox.html (1.5 KB) - added by guest 13 years ago.
1246.patch (1.4 KB) - added by Douglas Hays 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by guest

Attachment: test_Checkbox.html added

comment:1 Changed 13 years ago by dylan

Milestone: 0.4

comment:2 Changed 13 years ago by Douglas Hays

Owner: changed from bill to Douglas Hays

Changed 13 years ago by Douglas Hays

Attachment: 1246.patch added

comment:3 Changed 13 years ago by Douglas Hays

Cc: peller@… added

Please verify with the attached patch.

comment:4 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

(In [5654]) Fixes #1246. Patch from Doug Hays (IBM, CCLA on file)

comment:5 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.