change the fileuploadbutton back to just a button, we'll open a new window, it'll be a cleaner solution

This commit is contained in:
Damien Churchill 2009-04-02 09:37:21 +00:00
parent d3c6bfe91f
commit 71ef3f3ddc
1 changed files with 5 additions and 8 deletions

View File

@ -157,15 +157,12 @@ Deluge.Add.Grid = new Ext.grid.GridPanel({
margins: '5 5 5 5',
bbar: new Ext.Toolbar({
items: [
new Ext.form.FileUploadField({
{
id: 'file',
buttonOnly: true,
buttonCfg: {
cls: 'x-btn-text-icon',
icon: '/icons/add_file.png',
text: _('File')
}
}), {
cls: 'x-btn-text-icon',
icon: '/icons/add_file.png',
text: _('File')
}, {
id: 'url',
cls: 'x-btn-text-icon',
text: _('Url'),