-
22 Apr 2012 6:29 PM #1
[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.

-
22 Apr 2012 9:21 PM #2
Can you please send a screen of the problem you display so we can verify the problem?
Regards,
Scott.
-
23 Apr 2012 1:47 PM #3
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
I'm using Chrome 18.0.1025.162 on Ubuntu 11.10 64 bits.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>
The attachment have the error the was showed on console...
-
23 Apr 2012 1:59 PM #4
-
24 Apr 2012 12:33 PM #5
-
26 Apr 2012 5:57 PM #6
-
29 Apr 2012 5:35 PM #7
I am also experiencing this issue using extJS 4.1.0 Final Release and Neptune.
This is what show's up using dev.jsonChildPanelRender: function(panel) { panel.header.addCls(Ext.baseCSSPrefix + 'accordion-hd');Uncaught TypeError: Cannot call method 'addCls' of undefined
-
30 Apr 2012 10:00 AM #8
This has been verified and reported.
Regards,
Scott.
-
30 Apr 2012 10:19 AM #9
Thanks! Is there a Issue number to track on the change log?
-
30 Apr 2012 10:38 AM #10
See the top of this thread: EXTJSIV-6089
Scott.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-6089
in
4.2.0 Sprint 3.


Reply With Quote