add stub for a FilesTreeLoader
This commit is contained in:
parent
1f6ea321b7
commit
8c0ba82e0a
|
@ -22,6 +22,12 @@ Copyright:
|
|||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
Deluge.FilesTreeLoader = Ext.extend(Ext.tree.TreeLoader, {
|
||||
initComponent: function() {
|
||||
Deluge.FilesTreeLoader.superclass.initComponent.call(this);
|
||||
},
|
||||
});
|
||||
|
||||
Deluge.ProgressBar = Ext.extend(Ext.ProgressBar, {
|
||||
initComponent: function() {
|
||||
Deluge.ProgressBar.superclass.initComponent.call(this);
|
||||
|
@ -281,6 +287,12 @@ Deluge.Details.Panel = new Ext.TabPanel({
|
|||
dataIndex: 'priority'
|
||||
}],
|
||||
|
||||
loader: new Deluge.FilesTreeLoader({
|
||||
uiProviders: {
|
||||
'col': Ext.tree.ColumnNodeUI
|
||||
}
|
||||
}),
|
||||
|
||||
root: new Ext.tree.AsyncTreeNode({
|
||||
text:'Tasks'
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue