HI,
We are using Extjs 5.1.1.
I am facing an issue with filefield in IE 11.
It is working fine with Chrome.
In case of IE 11..
We are using the from.submit(). In this case when we are getting the succes:true, in IE it is taking as success:false and in case of success also it is downloading the json file.
Below is my code for submitting the form.
In case of Success:false in IE 11 we are handling the code like ..

Code:
uploadedFileSubmit:function(){
        var uploadedFile    =    Ext.ComponentQuery.query('#btnFileUploadCreateTicket')[0];
        var fileName        =    uploadedFile.getValue();
        var gasDTO = {
            fileName: '',
            fileSystem: 'PU',
            genericKey: 'PDF_UPLOADS',
            tempInd: 'N'
        };
        var formAttachment     =      Ext.ComponentQuery.query('#containerattachments')[0];
        formAttachment.submit({
            method : 'POST',  
            url:'/vec/doc/billing/gas/saveMultiPartFormFile',
            headers : {'Content-Type':'multipart/form-data'},
            params: {
                input: Ext.JSON.encodeValue(gasDTO)
            },
            waitMsg: 'Uploading your file',
            waitTitle: 'Please Wait...',
            success: function(form, action) {
                var result = action.result;
                if(result.success){
                    if(result.data.status == 'scan-failed'){
                        Ext.MessageBox.show({
                            title: 'Error',
                            msg: 'The attachment cannot be added, we have identified a virus in the attachment.',
                            buttons: Ext.MessageBox.OK,
                            icon: Ext.MessageBox.ERROR
                        });
                        formAttachment.reset();
                        return;
                    }
                    var win = Ext.WindowManager.getActive();
                    if (win) {
                        win.close();
                        Ext.MessageBox.show({
                            title: 'Success',
                            msg: 'Successfully file uploaded.',
                            buttons: Ext.MessageBox.OK,
                            icon: Ext.MessageBox.SUCCESS,
                            fn: function(btn) {
                                if (btn === 'ok') {
                                    Ext.ComponentQuery.query('#custmPdfRfrshBtnItemId')[0].fireEvent('click');
                                }
                            }
                        });
                    }
                }
            },
            failure: function(form, action) {
                if(Ext.isIE){
                    if((!action.result.success) && (action.result.errors.length == 0)){
                        var win = Ext.WindowManager.getActive();
                        if (win) {
                            win.close();
                            Ext.MessageBox.show({
                                title: 'Success',
                                msg: 'Successfully file uploaded.',
                                buttons: Ext.MessageBox.OK,
                                icon: Ext.MessageBox.SUCCESS,
                                fn: function(btn) {
                                    if (btn === 'ok') {
                                        Ext.ComponentQuery.query('#custmPdfRfrshBtnItemId')[0].fireEvent('click');
                                    }
                                }
                            });
                        }
                    }else {
                        Ext.MessageBox.show({
                            title: 'Error',
                            msg: fileName + '-->  ' + 'An error occurred while processing your request. Please try again later.',
                            buttons: Ext.MessageBox.OK,
                            icon: Ext.MessageBox.ERROR
                        });
                        formAttachment.reset();
                        return;
                    }
                }else {
                    Ext.MessageBox.close();
                    Ext.MessageBox.show({
                        title: 'Error',
                        msg: fileName + '-->  ' + 'An error occurred while processing your request. Please try again later.',
                        buttons: Ext.MessageBox.OK,
                        icon: Ext.MessageBox.ERROR
                    });
                    formAttachment.reset();
                    return;
                }
            }
        });
        
    }
I need the help in...
1). Why in IE11 we are getting the Succcess:false in case Success:true.
2). Why In IE11 Json file is downloading.


Help me in these two cases.

Thanks in Advance
Kamalakar Reddy V