Please help me. This my code from AIR application
var winVOV = new Ext.Window({
height: 100,
width: 380,
title: '...',
clossable: true,
draggable: true,
resizable: false,
layout: 'form',
items: new Ext.FormPanel({
id: 'fp_v',
fileUpload: true,
autoHeight: true,
autoWidth: true,
items: [
{
xtype: 'fileuploadfield',
id: 'form-file',
emptyText: '...',
fieldLabel: 'XLS file',
width: 250,
name: 'fn',
buttonCfg: {
text: '',
iconCls: 'upload-icon'
}
}],
buttons: [{
text: '...',
handler: function(){
if(Ext.getCmp('fp_v').getForm().isValid()){
Ext.getCmp('fp_v').getForm().submit({
url: server + 'data/get_data.php?act=exec_vov',
waitMsg: '...',
success: function(form, action,ss,mm){
alert(action.result.fn);

Here an error. Variable action.result not found.