-
7 Aug 2009 7:18 AM #1
Unanswered: Ext Ajax Form Upload Broken
Unanswered: Ext Ajax Form Upload Broken
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:
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?Code:Ext.callback = function(cb, scope, args, delay){ if(typeof cb == "function"){ if(delay){ cb.defer(delay, scope, args || []); }else{ cb.apply(scope, args || []); } } }
Anyways, just thought I'd post that.
-
7 Aug 2009 10:07 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Singapore
- Posts
- 6,232
- Vote Rating
- 2
- Answers
- 1
sounds like a bug.
shall i move this to the 3.x Bugs forum instead?
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
16 Nov 2009 1:55 AM #3
I have the same problem. Hope that will be fixed soon.


Reply With Quote