PDA

View Full Version : Migration 3.0 to 3.4



jorgeluislay
22 Oct 2012, 6:32 AM
Do i realy have only to copy the libs from 3.4 inside my app ?

I am having issues with IE9 so im changing this. And after changing this i am having problems with this:

Object doesn't support property or method 'destroy'
lib.js?_tc=1350915642913, line 18 character 180176

Dont realy know what do to :(:-/

jorgeluislay
22 Oct 2012, 7:31 AM
Im defining a vieport like this:


items: [{
region: 'north',
height: 80,
border: false,
collapsible: false,
contentEl: 'northBound'
}, {
region: 'south',
height: 28,
border: false,
buttonAlign: 'left',
collapsible: false,
xtype: 'southpanel'

}, {
region: 'west',
id: 'west',
border: false,
title: "Navigator",
width: 250,
minSize: 175,
maxSize: 400,
collapsible: true,
layoutConfig: {
animate: false
},
layout: 'accordion'
}, {
region: 'center',
id: 'center',
border: false,
layout: 'fit',
items: [],
defaults: {
autoScroll: false
}
}]

and than im trying to change the components of the viewport with this:


Ext.getCmp('west').removeAll(true);
Ext.getCmp('center').removeAll(true);

but im getting this in the console:


TypeError: this.config[a].destroy is not a function

When i try it again than it works but before it was working fine in 3.0.0. What i am doing wrong here or is it a bug ?

jorgeluislay
22 Oct 2012, 5:22 PM
So, after experiencing so many bugs in ExtJs 3.4 i finalized all this history of problems by setting the content to IE8 for a compability issue in IE9 !

So for other people out there looking for a solution for this (might be old but gold):

<meta http-equiv="X-UA-Compatible" content="IE=8" >

Yes