-
13 Sep 2012 8:18 PM #1
Unanswered: The mask layer is still after the form submited, how to removed it?
Unanswered: The mask layer is still after the form submited, how to removed it?
Code:Ext.define('myWin', { extend: 'Ext.window.Window', width: 420, closable: false, resizable: false, collapsible: true, title: 'System', initComponent: function () { var me=this; var formA = Ext.create('Ext.form.Panel', { border: false, title: 'Verification', padding : 10, layout: 'anchor', fieldDefaults: { labelWidth: 70 }, defaults: { anchor: '100%', msgTarget: 'side' }, items: [ {xtype: 'hiddenfield',value: 0, name: 'id'},{ xtype: 'textfield', emptyText: 'Your Email', name: 'email', vtype: 'email' }], buttons: [{ formBind: true, text: 'submit' ,handler: function () { formA.submit({ url: '/open.php/enhanced', waitMsg: 'Please wait a minute...', waitTitle: 'Submiting', success: function (form, action) { Ext.example.msg('ok'); }, failure: submitFailure }); } } }); Ext.apply(me, {items: [formA]} }); me.callParent(arguments); } });
-
13 Sep 2012 10:47 PM #2Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 76
- Answers
- 124
Hi Manlsea,
It's Bug in Ext 4.1.1 See this report http://www.sencha.com/forum/showthread.php?240226-Form-waitMsg-mask-is-not-cleared-when-submit-fails
An alternate solution is applied Animals patch and it will fix your issue for now until the next release.
http://www.sencha.com/forum/showthread.php?228970-4.1.1-GA-Form-Submit-Problem
See working sample example - http://jsfiddle.net/maneeshgo/z4Gh9/sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
16 Sep 2012 5:33 PM #3
Thank's, By the way, when the new version will be released?


Reply With Quote