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', margins: '5 5 5 5',
bbar: new Ext.Toolbar({ bbar: new Ext.Toolbar({
items: [ items: [
new Ext.form.FileUploadField({ {
id: 'file', id: 'file',
buttonOnly: true, cls: 'x-btn-text-icon',
buttonCfg: { icon: '/icons/add_file.png',
cls: 'x-btn-text-icon', text: _('File')
icon: '/icons/add_file.png', }, {
text: _('File')
}
}), {
id: 'url', id: 'url',
cls: 'x-btn-text-icon', cls: 'x-btn-text-icon',
text: _('Url'), text: _('Url'),