PDA

View Full Version : FileUploadField has a Choose File and Browse button



KallDrexx
3 Jan 2011, 12:55 PM
I copied the FileUploadField.js script directly from the Sencha Tutorials. When I create my upload field with:


{
xtype: 'fileuploadfield',
fieldLabel: 'Test Plan File',
name: 'testplan',
emptyText: 'Select a Test Plan'
}


I get the following window

https://dl.dropbox.com/u/6753359/extjsBadFileUploadField.PNG

Notice how there is a Browse button AND a Choose file button, both of which do the exact same thing. I can't seem to get rid of the Choose file dialog.

Also, there is a "No File Chosen" text that seems to be appearing, which I do not want. I cannot see any reason (by looking in the demo at least) as to why this is showing up. Any ideas?

KallDrexx
3 Jan 2011, 12:58 PM
Nevermind, it appears I was missing a css file