Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6089 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default [4.1 RC3] netptune + accordion

    [4.1 RC3] netptune + accordion


    ncaught TypeError: Cannot call method 'addCls' of undefined
    extjs4/src/layout/container/Accordion.js:212

    to reproduce get the feed viewer example and add the neptune theme.




  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,078
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Can you please send a screen of the problem you display so we can verify the problem?

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default


    yes.
    First sorry, I past the wrong example. The correct is the "portal layout sample".

    to reproduce edit the extjs41/examples/portal/portal.html
    and paste

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Portal Layout Sample</title>
    
    
    
    
        <link rel="stylesheet" type="text/css" href="../../resources/css/ext-neptune.css" />
        
        <link rel="stylesheet" type="text/css" href="portal.css" />
    
    
        <!-- GC -->
    
    
    
    
        <script type="text/javascript" src="../../ext.js"></script>
        <script type="text/javascript" src="all-classes.js"></script>
        <script type="text/javascript" src="../../ext-neptune.js"></script>
    
    
        <!-- shared example code -->
        <script type="text/javascript" src="../shared/examples.js"></script>
    
    
        <!-- portal classes --><!--
        <script type="text/javascript" src="classes/Portlet.js"></script>
        <script type="text/javascript" src="classes/PortalColumn.js"></script>
        <script type="text/javascript" src="classes/PortalPanel.js"></script>
        <script type="text/javascript" src="classes/PortalDropZone.js"></script>
    
    
         example portlets
        <script type="text/javascript" src="classes/GridPortlet.js"></script>
        <script type="text/javascript" src="classes/ChartPortlet.js"></script>
    
    
         app
        -->
        <script type="text/javascript" src="portal.js"></script>
        <script type="text/javascript">
            Ext.Loader.setPath('Ext.app', 'classes');
    
    
            Ext.require([
                //'Ext.diag.layout.ContextItem.*',
                //'Ext.diag.layout.Context.*',
    
    
                'Ext.layout.container.*',
                'Ext.resizer.Splitter',
                'Ext.fx.target.Element',
                'Ext.fx.target.Component',
                'Ext.window.Window',
                'Ext.app.Portlet',
                'Ext.app.PortalColumn',
                'Ext.app.PortalPanel',
                'Ext.app.Portlet',
                'Ext.app.PortalDropZone',
                'Ext.app.GridPortlet',
                'Ext.app.ChartPortlet'
            ]);
    
    
            Ext.onReady(function(){
                Ext.create('Ext.app.Portal');
            });
        </script>
    </head>
    <body>
        <span id="app-msg" style="display:none;"></span>
    </body>
    </html>
    I'm using Chrome 18.0.1025.162 on Ubuntu 11.10 64 bits.
    The attachment have the error the was showed on console...
    Attached Images

  4. #4
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default



  5. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,078
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Please see if 4.1 helps:
    http://www.sencha.com/blog/ext-js-4-1-final-released/

    Regards,
    Scott.

  6. #6
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default


    same problem

  7. #7
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    polaris01 is on a distinguished road

      0  

    Default


    I am also experiencing this issue using extJS 4.1.0 Final Release and Neptune.

    This is what show's up using dev.js
    onChildPanelRender: function(panel) { panel.header.addCls(Ext.baseCSSPrefix + 'accordion-hd');Uncaught TypeError: Cannot call method 'addCls' of undefined



  8. #8
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,078
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This has been verified and reported.

    Regards,
    Scott.

  9. #9
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    polaris01 is on a distinguished road

      0  

    Default


    Thanks! Is there a Issue number to track on the change log?

  10. #10
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,078
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    See the top of this thread: EXTJSIV-6089

    Scott.