PDA

View Full Version : FileUploadField and full path



silve69
20 Jul 2009, 12:37 PM
Hello friends,

Currently I'm using the FileUploadField ux.ext inside a formpanel, the fragment code is:



...
code here
...
{
xtype: 'fileuploadfield',
emptyText: 'Select an image',
fieldLabel: 'Change picture',
name: 'photo-path',
width: 400,
listeners: {
'fileselected': function(fb, v){
alert (v);
}
}
}
...
code here
...


In IE7 the value of "v" is the full path (C:/Sample/Images/pic1.jpg) but in FF the value is only the file name (pic1.jpg)
Somebody know why???

Regards!!!!