PDA

View Full Version : Form data not submitted after Chrom update



kiteflo
16 Dec 2011, 9:04 AM
Hi Sencha guys,

this is an urgent request for help - our customers upgraded to Chrome 16 today and using Chrome 16 makes Sencha to turn any POST request into a GET request (detailed issue: http://www.sencha.com/forum/showthread.php?161923-Forms-are-not-correctly-submitted-in-Chrome-16)

Please help us with this issue - this is a really heavy thing and I would like to prevent other customers/Sencha developers to run into this issue!

Cheers, Florian;

mitchellsimoens
16 Dec 2011, 9:41 AM
In the submit() call... add method : 'POST'. It's suppose to default on it but it's not...



submit({
method : 'POST',
waitMsg : {message:'Submitting', cls : 'demos-loading'}
});

aveltens
19 Dec 2011, 1:33 AM
I ran into this issue, too, this morning. Thank you very much! Don't know how long I might have stumbled arround without this thread. Really creepy behaviour...

damrbaby
30 Dec 2011, 11:19 AM
You can also use the beforesubmit event:



var form = Ext.extend(Ext.form.FormPanel, {
listeners: {
beforesubmit: function(form, values, options) {
options.method = "post";
}
}
});