1. #1
    Ext User
    Join Date
    May 2007
    Posts
    4
    Vote Rating
    0
    tudisco is on a distinguished road

      0  

    Default 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:

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

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    Answers
    1
    mystix will become famous soon enough

      0  

    Default


    sounds like a bug.

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

  3. #3
    Sencha User Alex84's Avatar
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    49
    Vote Rating
    0
    Alex84 is on a distinguished road

      0  

    Default


    I have the same problem. Hope that will be fixed soon.

Thread Participants: 2