Opened 10 years ago

Closed 9 years ago

#4962 closed bug (fixed)

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

Change History (1)

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

Milestone: 1.next1.8.2
Resolution: fixed
Status: newclosed

This was fixed in a previous release.

Note: See TracTickets for help on using tickets.