add a toolbar to the file browser
This commit is contained in:
parent
ae5071d6cb
commit
a961947720
|
@ -2,6 +2,16 @@ Ext.namespace('Deluge');
|
|||
Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
||||
|
||||
title: 'Filebrowser',
|
||||
|
||||
width: 500,
|
||||
height: 400,
|
||||
|
||||
tbar: {
|
||||
items: [{
|
||||
cls: 'x-btn-icon',
|
||||
iconCls: 'icon-back'
|
||||
}]
|
||||
},
|
||||
|
||||
initComponent: function() {
|
||||
Deluge.FileBrowser.superclass.initComponent.call(this);
|
||||
|
|
Loading…
Reference in New Issue