Search and Top Navigation
#8278 closed bug (duplicate)
Opened April 26, 2012 01:55PM UTC
Closed April 26, 2012 02:16PM UTC
Last modified April 26, 2012 02:16PM UTC
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!
Attachments (0)
Change History (3)
Changed April 26, 2012 02:08PM UTC by comment:1
| _comment0: | I just noticed if you toggle without any slide effect it just works. \ \ You can check it out: http://jsfiddle.net/Daveloose/9pDET/10/ \ → 1335449512716590 | 
|---|
Changed April 26, 2012 02:16PM UTC by comment:2
| resolution: | → duplicate | 
|---|---|
| status: | new → closed | 
I just noticed if you toggle without any slide effect it just works.
You can check it out: http://jsfiddle.net/Daveloose/9pDET/11/