PDA

View Full Version : standardSubmit ignore timeout



info@ferraresegroup.com
5 Mar 2013, 9:42 AM
Hi all,
in ajax standardSubmit, timeout is ignored.
What's wrong?
Thank,
Luca



panel.getForm().submit({
standardSubmit: true,
target: '_blank',
timeout: 2,
url:'richieste/amm_m20_reg.php',
params: { "dataX" : Ext.encode(rec.raw) },
method:'POST',
scope: this,
failure: function() {
panel.getForm().reset();
}
});

mitchellsimoens
7 Mar 2013, 8:55 AM
standardSubmit does a regular form submit not an ajax submit so you will loose some functionality.