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.
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.