1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    30
    Answers
    2
    Vote Rating
    1
    Dafram is on a distinguished road

      0  

    Default Answered: [4.1] MessageBox after Window.show() doesn't take focus

    Answered: [4.1] MessageBox after Window.show() doesn't take focus


    Hi,

    I have a new problem.

    I open a Window with a Form inside.

    Code:
            var frmRegola = Ext.create('Ext.form.Panel', {
                id: 'id_frmRegola',
                url: 'frmRegolaSubmit.php',
                frame: 'true',
                bodyStyle: 'padding:5px 5px 0',
                items: [fDescri,cbTipologia]
            });
    
            var winRegola = Ext.create('Ext.window.Window', {
                id: 'id_winRegola',
                   title: 'Regola',
                   layout: 'fit',
                height: 140,
                width: 800,
                border: 0,
                modal: true,
                resizable: false,
                buttons: [
                      { text: 'Salva',   scale: 'medium', iconCls: 'buttonicon_save',   handler: wRegola_salva },
                    { text: 'Annulla', scale: 'medium', iconCls: 'buttonicon_cancel', handler: wRegola_annulla }
                ],
                buttonAlign: 'center'
            });
            
            winRegola.add(frmRegola);
            winRegola.show();
    Then, when I press the SAVE button, I submit the Form and, after, I show a MessageBox with the result of the operation.

    Code:
            function wRegola_salva()
            {
                frmRegola.getForm().submit({
                    waitTitle: 'Attendere',
                    waitMsg:   'Salvataggio Regola in corso...',
                    success: function(form,action)
                    {
                        esito = Ext.JSON.decode(action.response.responseText);
    
                        if (esito.success)
                        {
                            var msg = Ext.Msg.show({
                                title:   'Messaggio',
                                msg:     esito.msg,
                                buttons: Ext.Msg.OK,
                                icon:    'msgicon_info'
                            });
                        }
                        else
                        {
                            var msg = Ext.Msg.show({
                                title:   'Errore',
                                msg:     esito.msg,
                                buttons: Ext.Msg.OK,
                                icon:    'msgicon_error'
                            });
                        }
                    },
                    failure: function(form,action)
                    {
                        var msg = Ext.Msg.show({
                            title:   'Errore',
                            msg:     'Errore durante il Salvataggio Regola!',
                            buttons: Ext.Msg.OK,
                            icon:    'msgicon_error'
                        });
                    }
                });
            }
    But the MessageBox is BEHIND my Window (modal: true):

    msg.png

    Why?

    In ExtJS 4.0.7 I didn't have this issue...

  2. In reviewing the ticket, it seems to be slated for 4.2 release.

    Regards,
    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This has already been reported: EXTJSIV-5957

    Thank you,
    Scott.

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    30
    Answers
    2
    Vote Rating
    1
    Dafram is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    This has already been reported: EXTJSIV-5957

    Thank you,
    Scott.
    Thanks, so there is not yet a solution? Or a fix is possible?

  5. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    In reviewing the ticket, it seems to be slated for 4.2 release.

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi