#8278 closed bug (duplicate)
The "document.ready" function inside a toggle div gets executed twice
Reported by: | Kruellos | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.core | Version: | 1.8.19 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
As the summary says, the document.ready functions inside a div that is being toggled gets executed twice.
I've made a little demo page: http://jsfiddle.net/Daveloose/9pDET/2/
We try to bind events inside, but they get binded twice. So a work around is first to unbind, and then to bind. Is this a bug? Or is this the implementation? I consider this as a bug.
Kind regards!
Note: See
TracTickets for help on using
tickets.
I just noticed if you toggle without any slide effect it just works.
You can check it out: http://jsfiddle.net/Daveloose/9pDET/11/