Opened 14 years ago
Closed 14 years ago
#2252 closed defect (wontfix)
dojo.html.copyStyle throws an exception
Reported by: | Owned by: | Bryan Forbes | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | HTML | Version: | 0.4.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
i recommand to add the following as the first line of the function in order to avoid an exception while looping through an arbitrary DOM tree :
if(!target.style || !source.style){return;}
Regards, ewilde.
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
this code no longer exists in 0.9
Note: See
TracTickets for help on using
tickets.
there should be an OR operator between "!target.style" and "!source.style". it has been eliminated (maybe) by the trac server...