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:
parent
d3c6bfe91f
commit
71ef3f3ddc
|
@ -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,
|
|
||||||
buttonCfg: {
|
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
icon: '/icons/add_file.png',
|
icon: '/icons/add_file.png',
|
||||||
text: _('File')
|
text: _('File')
|
||||||
}
|
}, {
|
||||||
}), {
|
|
||||||
id: 'url',
|
id: 'url',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Url'),
|
text: _('Url'),
|
||||||
|
|
Loading…
Reference in New Issue