Search and Top Navigation
#8460 closed bug (duplicate)
Opened July 25, 2012 05:39PM UTC
Closed July 25, 2012 05:41PM UTC
Last modified July 25, 2012 05:41PM UTC
.show(effect) reevaluates inline JS
Reported by: | geraldcor | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.effects.core | Version: | 1.8.22 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See jsfiddle here for example: http://jsfiddle.net/pAQcm/
Toggle the inclusion of jQuery UI and run. Click the "Toggle" button and note that when jQuery UI is included (using the animation effects included) The inline javascript gets evaluated twice (but only twice). When jQuery UI is not included, the inline javascript behaves as expected.
The use case is included html with inline javascript (for reusable templates etc.)