Sep 11, 2017, 10:11 PM
[CLOSED] form.submit crashes if you don't pass "headers"
This used to work beautifully 4.2. We migrated to 4.4 and start observing this issue. We are using plain ExtJS javascript snipped upload file.
onUploadFile: function (field, value) {
var form = this.lookupReference('uploadForm').getForm();
form.submit({
url: '../../api/bom/upload/excel',
scope: this,
waitMsg: 'Reading Bom file...',
success: function (fp, o) {
console.log('success');
}
});
Get the following error as we submit form.
onUploadFile: function (field, value) {
var form = this.lookupReference('uploadForm').getForm();
form.submit({
url: '../../api/bom/upload/excel',
scope: this,
waitMsg: 'Reading Bom file...',
success: function (fp, o) {
console.log('success');
}
});
Get the following error as we submit form.
Last edited by fabricio.murta; Oct 20, 2017 at 5:58 PM.
Reason: The user has solved their issue.