Results 1 to 3 of 3

Thread: [4.1.1] Ext.formPanel submit with waitMsg makes eternal mask.

    This issue duplicates another issue.
  1. #1
    Sencha User mashiki's Avatar
    Join Date
    Oct 2007
    Location
    Japan
    Posts
    139
    Vote Rating
    0
      0  

    Default [4.1.1] Ext.formPanel submit with waitMsg makes eternal mask.

    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'
                        });
                    }
                }]
            }
        });
    });

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,384
    Vote Rating
    858
      0  

    Default

    Thanks for the test case, dupe of: http://www.sencha.com/forum/showthread.php?228970
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User mashiki's Avatar
    Join Date
    Oct 2007
    Location
    Japan
    Posts
    139
    Vote Rating
    0
      0  

    Default

    I see. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •