Skip to main content

Search and Top Navigation

#4962 closed bug (fixed)

Opened November 17, 2009 06:04PM UTC

Closed July 13, 2010 01:05PM UTC

Accordion option, set animated true causes JavaScript error

Reported by: diehard Owned by:
Priority: critical Milestone: 1.8.2
Component: ui.accordion Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Referring to http://dev.jqueryui.com/ticket/4392

Even though its reported in jQuery UI 1.7.1, but when using jQuery UI 1.7.2 I'm having the same issue/bug. I made sure all my files are jQuery 1.3.2 and jQuery UI 1.7.2, the latest. Everything works without "animated", but I get an error when I set "animated" to "true" for default animation.

Firebug error:

o.easing[this.options.easing || (o.easing.swing ? "swing" : "linear")] is not a function
(function(){var R=/((?:\\((?:\\([^()]+\\)|[...(J,typeof K==="string"?K:K+"px")}})})();

My code snippet:

    <script src="../js/jquery/ui.core.min.js" type="text/javascript"></script>
    <script src="../js/jquery/effects.core.min.js" type="text/javascript"></script>
    <script src="../js/jquery/ui.accordion.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
$(document).ready(function() {
    // Create accordion.
    $('#region-middle .widget_connect').accordion({
        header:'.panel_header',
        alwaysOpen:true,
        autoHeight:false,
        clearStyle:true,
        navigation:false,
        animated:true
    });
});
    //]]>
    </script>

Sincerely,

William Chang

Creative Crew

Attachments (0)
Change History (1)

Changed July 13, 2010 01:05PM UTC by scottgonzalez comment:1

milestone: 1.next1.8.2
resolution: → fixed
status: newclosed

This was fixed in a previous release.