REQUIRED INFORMATION


Ext version tested:
  • Ext 4.1.1

Browser versions tested against:
  • FF

DOCTYPE tested against:
  • html

Description:

    Steps to reproduce the problem:
    • submit with waitMsg

    The result that was expected:
    • after requset mask will hide

    The result that occurs instead:
    • mask never hide

    Test Case:

    follows are executable site.

    4.1.1 fails
    http://jsfiddle.net/mashiki/dhr82/
    the mask never hide.

    4.1.0 works (and 4.1.1-rc1,2 also work)
    http://jsfiddle.net/mashiki/dhr82/1/
    the mask will hide.


    Code:
    Ext.onReady(function(){
    
        Ext.widget('viewport', {
            items   : {
                xtype: 'form',
                items: [{
                    xtype: 'textfield',
                    name: 'test',
                    fieldLabel: 'field',
                    value: '123'
                }],
                buttons: [{
                    text:'POST',
                    handler: function(btn) {
                        var form = btn.up('form');
                        form.submit({
                            url:'/echo/json/',
                            method:'get',
                            params:{
                                delay: 3
                            }
                        });
                    }
                },{
                    text:'POST with waitMsg',
                    handler: function(btn) {
                        var form = btn.up('form');
                        form.submit({
                            url:'/echo/json/',
                            method:'get',
                            params:{
                                delay: 3
                            },
                            waitMsg:'Wait 3 sec'
                        });
                    }
                }]
            }
        });
    });