[4.1.1] Ext.formPanel submit with waitMsg makes eternal mask.
REQUIRED INFORMATION
Ext version tested:
Browser versions tested against:
DOCTYPE tested against:
Description:
Steps to reproduce the problem:
The result that was expected:- after requset mask will hide
The result that occurs instead:
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'
});
}
}]
}
});
});