Modify ↓
Ticket #6069 (closed bug: invalid)
Exception in IE when hide called
| Reported by: | djmason9 | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.2 | |
| Component: | effects | Version: | 1.4.1 |
| Keywords: | hide,null, | Cc: | |
| Blocking: | Blocked by: |
Description
There is an exception in the hide function when calling hide on a null object in IE Line:5331 in Version 1.4.1 While looping. I added a try block to fix this issue in my version but I would suggest this be part of the final build
Set the display of the elements in a second loop
to avoid the constant reflow
try{
for ( var i = 0, l = this.length; i < l; i++ ){
this[i].style.display = "none";
}
}catch(e){}
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

What exactly is a "null object" in this case? Could you please re-open with a full test case? Thanks.