It does not work for me.
Code:
expenses.app.mainForm = new Ext.FormPanel({
fileUpload: true,
timeout: 3600000,
items: [expenses.app.mainParams]
});
fm = expenses.app.mainForm.getForm();
fm.timeout = 3600000;
fm.submit({
url: "<?php echo url_for('das_expenses/upload') ?>",
method: 'POST',
timeout: 3600000,
success: function(f, a){
Ext.Msg.hide();
},
failure: function(f, a){
Ext.Msg.hide();
Ext.Msg.alert('Information', a.result.msg);
},
scope: this
});
PHP always produce an error of Maximum Execution time of 30 sec. Please help