PDA

View Full Version : Ext Ajax Form Upload Broken



tudisco
7 Aug 2009, 7:18 AM
The private function doFormUpload in Connection.js is using Ext.callback which doesn't seem to exist in Ext core. At least I can't find it.

So I added this code to get my form upload to work:



Ext.callback = function(cb, scope, args, delay){
if(typeof cb == "function"){
if(delay){
cb.defer(delay, scope, args || []);
}else{
cb.apply(scope, args || []);
}
}
}
Also it adds x-hidden css style to class attribute on iframe tag which doesn't do anything in core.. would be nice if you could make that configurable or maybe use the style tag?

Anyways, just thought I'd post that.

mystix
7 Aug 2009, 10:07 AM
sounds like a bug.

shall i move this to the 3.x Bugs forum instead?

Alex84
16 Nov 2009, 1:55 AM
I have the same problem. Hope that will be fixed soon.