Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#5983 closed bug (notabug)

Setting data on accordion's H3 tag causes mouseover errors

Reported by: icfantv Owned by:
Priority: major Milestone:
Component: ui.accordion Version: 1.8.4
Keywords: accordion, data, mouseover Cc:
Blocked by: Blocking:


I was setting data on my accordion JQ object's H3 headers in my document.ready function when I noticed errors being spit out in my Firebug console:

e is undefined if(!b){d=a.type.split("."); view wheelDelta which".split(" "), ........

The error manifests itself when mousing over the headers after clicking on a section.

See here for demo:

Setting data on the <div> objects works fine as a workaround.

Change History (2)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

.data({}) overwrites the entire data store, which removes the event handlers. See for a ticket to change the behavior to what you were probably expecting. Also, see for how to do what you want.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.