Threaded View

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext User
    Join Date
    Feb 2008
    Posts
    7
    Vote Rating
    0
    sanny is on a distinguished road

      0  

    Default [FIXED-129][2.x/3.x] Opera 10 upload form

    [FIXED-129][2.x/3.x] Opera 10 upload form


    Hello.

    I have a problem appeared in Opera 10 only. I have a form with uploadFile:true I'm submitting and waiting for the answer:

    Code:
    new Ext.FormPanel({
            border:false,
            title:false,
            id:'formpan5',
            cls:'normalcolor',
            fileUpload:true,
            autoHeight:true,
            reader:new Ext.data.JsonReader({
                root: "rows"
            },Code),
    Code:
                Ext.getCmp('formpan5').getForm().submit({
                    url:'/account/mygetcode.html',
                    params: {
                        id:selectedRow,
                        paytype:Ext.getCmp('paytype1').getGroupValue(),
                        dyntype:Ext.getCmp('dyntype1').getGroupValue(),
                        logotype:Ext.getCmp('logotype1').getGroupValue(),
                        design:radio_val(document.getElementById('design1').form.xdesign),
                        link:radio_val(document.getElementById('link1').form.xlink),
                        paycost:Ext.getCmp('paycost1').getGroupValue(),
                        roundcost:Ext.getCmp('roundcost1').getGroupValue(),
                        cost:Ext.getCmp('cost').getValue(),
                        linktext:Ext.getCmp('linktext').getValue()
                    },
                    waitMsg:'Получение HTML-кода',
                    waitTitle:'Обращение к серверу',
                    success:function(form, action){
                        codeTab=9;
                        for(var x=1;x<=9;x++){Ext.getCmp('codepan'+x).setVisible(0)}
                        Ext.getCmp('code').setValue(action.result.code);
                        Ext.getCmp('codepan9').setVisible(1);
                        Ext.getCmp('nextBtn5').setText('Закрыть');
                    },
                    failure:function(form, action){
                        Ext.Msg.alert("Ошибка",action.result.status);
                    }
                })
    I have the problem on the Ext.getCmp('code').setValue(action.result.code); line as in Opera I don't have action.result at all. Please take a look at attached screenshot. The problem appears in Opera 10 only.
    Attached Images