Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2014
    Posts
    3
    Vote Rating
    0
    fagma is on a distinguished road

      0  

    Default Ext.form.Panel doesn't appear with IE 9 & 10

    Ext.form.Panel doesn't appear with IE 9 & 10


    Hello !
    This is a form which doesn't appear at all with IE 9 & 10, while it works with all others browsers.
    I'm using ExtJS 4.
    If anyone has got an idea, thanks a lot !

    Code:
    Ext.require([
        'Ext.form.*'
    ]);
    
    
    var authentification_form = Ext.create('Ext.form.Panel', {
        frame: false,
        width: 412,
    
    
        // The form will submit an AJAX request to this URL when submitted
        url: base_alias + '/index/index',
    
    
        // Fields will be arranged vertically, stretched to full width
       // layout: 'anchor',
        defaults: {
            anchor: '100%'
        },
            
        fieldDefaults: {
            labelAlign: 'left',
            labelWidth: 90,
            anchor: '100%'
        },
    
    
        // The fields
        defaultType: 'textfield',
        items: [{
            fieldLabel: 'Societe',
            name: 'soc',
            allowBlank: false,
            invalidCls: 'obligatoire'
        },{
            fieldLabel: 'Identifiant',
            name: 'login',
            allowBlank: false,
            invalidCls: 'obligatoire'
        },{
             fieldLabel: 'Mot de passe',
            name: 'mpass',
            inputType: 'password',
            allowBlank: false,
            invalidCls: 'obligatoire'
        }], 
        
        
    
    
        // Reset and Submit buttons
        buttons: [/*{
            text: 'Annuler',
            handler: function() {
                this.up('form').getForm().reset();
            }
        }, */{
            text: 'Connexion',
            id: 'submit_login',
            formBind: true,
            disabled: true,
            handler: function() {
                var form = this.up('form').getForm();
                if (form.isValid()) {
                    form.submit({
                        waitTitle: "Connexion...",
                        waitMsg: "Verification des informations en cours...",
                        success: function(form, action) {
                            if (action.result.prem_connexion == "A") 
                                show_administrateur_modif();      
                            else if (action.result.prem_connexion == "U") 
                                show_utilisateur_modif();   
                            else 
                                document.location.href = document.location.href + 'index/accueil';
                        },
                        failure: function(form, action) {
                            Ext.Msg.alert('Echec de connexion', action.result.msg);
                            Ext.Msg.show({
                                title:'Echec de connexion',
                                msg: action.result.msg,
                                buttons: Ext.Msg.OK,
                                icon: Ext.Msg.WARNING
                           });
                        }
                    });
                }
            }
        }]
    });

  2. #2
    Sencha User Misiu's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    256
    Vote Rating
    58
    Misiu is a jewel in the rough Misiu is a jewel in the rough Misiu is a jewel in the rough

      0  

    Default


    Wrong forum!! Use Ext Q & A

Thread Participants: 1