Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#671 closed defect (fixed)

Clicking on a disabled button throws a javascript error.

Reported by: dbennett@… Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

To see example visit:

http://office.bensoft.com/dojo/demo/button_disable_problem.html

Error is on line 8040 of dojo.js 0.2.2. Line reads:

switch(_713.tagName.toLowerCase()){

Changing this to:

switch((_713.tagName) && _713.tagName.toLowerCase()){

Fixes the problem.

--Dave

Change History (3)

comment:1 Changed 13 years ago by dbennett@…

Problem only appears in IE 6, Tested with FF 1.5.0.2 and no problem appeared.

comment:2 Changed 13 years ago by bill

Milestone: 0.3release
Resolution: fixed
Status: newclosed

I can't even find that line of code anymore. Pluswhich I tried your testcase and it's working now. Closing bug.

comment:3 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.