PDA

View Full Version : [FIXED]Element.load fails



wbutler
15 Mar 2011, 1:21 PM
Using PR3, this code fails:


Ext.get('test_container').load({
url: '/some/neat/url',
scripts: true
});

with this error:


Uncaught TypeError: Cannot read property 'form' of undefined
processSuccess (ext-all-debug.js:19587)
Ext.apply.callback (ext-core-debug.js:5373)
Ext.define.onComplete (ext-all-debug.js:21578)
Ext.define.onStateChange (ext-all-debug.js:21537)
Ext.Function.bind (ext-core-debug.js:1660)


In older versions of Ext, Ext.data.Connection would set argument on the response before calling the callback. It doesn't appear to be doing this any more, but Ext.Updater still depends on it.

evant
20 Mar 2011, 7:40 PM
Will be fixed in the next release, thanks!