mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
use object format rather than dictionary
This commit is contained in:
parent
4296344502
commit
91692bc966
1 changed files with 7 additions and 7 deletions
|
@ -184,9 +184,9 @@
|
||||||
id: file,
|
id: file,
|
||||||
text: file,
|
text: file,
|
||||||
filename: file,
|
filename: file,
|
||||||
size: item['size'],
|
size: item.size,
|
||||||
progress: item['progress'],
|
progress: item.progress,
|
||||||
priority: item['priority']
|
priority: item.priority
|
||||||
});
|
});
|
||||||
parent.appendChild(child);
|
parent.appendChild(child);
|
||||||
}
|
}
|
||||||
|
@ -197,10 +197,10 @@
|
||||||
id: file,
|
id: file,
|
||||||
filename: file,
|
filename: file,
|
||||||
text: file, // this needs to be here for sorting
|
text: file, // this needs to be here for sorting
|
||||||
fileIndex: item['index'],
|
fileIndex: item.index,
|
||||||
size: item['size'],
|
size: item.size,
|
||||||
progress: item['progress'],
|
progress: item.progress,
|
||||||
priority: item['priority'],
|
priority: item.priority,
|
||||||
leaf: true,
|
leaf: true,
|
||||||
iconCls: 'x-deluge-file',
|
iconCls: 'x-deluge-file',
|
||||||
uiProvider: Ext.ux.tree.TreeGridNodeUI
|
uiProvider: Ext.ux.tree.TreeGridNodeUI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue