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

      0  

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

    [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
      Sencha - Ext JS Dev Team evant's Avatar
      Join Date
      Apr 2007
      Location
      Sydney, Australia
      Posts
      16,905
      Vote Rating
      626
      evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

        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
      Sencha User mashiki's Avatar
      Join Date
      Oct 2007
      Location
      Japan
      Posts
      139
      Vote Rating
      0
      mashiki is on a distinguished road

        0  

      Default


      I see. Thanks.

    Thread Participants: 1