mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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,
|
||||
text: file,
|
||||
filename: file,
|
||||
size: item['size'],
|
||||
progress: item['progress'],
|
||||
priority: item['priority']
|
||||
size: item.size,
|
||||
progress: item.progress,
|
||||
priority: item.priority
|
||||
});
|
||||
parent.appendChild(child);
|
||||
}
|
||||
|
@ -197,10 +197,10 @@
|
|||
id: file,
|
||||
filename: file,
|
||||
text: file, // this needs to be here for sorting
|
||||
fileIndex: item['index'],
|
||||
size: item['size'],
|
||||
progress: item['progress'],
|
||||
priority: item['priority'],
|
||||
fileIndex: item.index,
|
||||
size: item.size,
|
||||
progress: item.progress,
|
||||
priority: item.priority,
|
||||
leaf: true,
|
||||
iconCls: 'x-deluge-file',
|
||||
uiProvider: Ext.ux.tree.TreeGridNodeUI
|
||||
|
|
Loading…
Add table
Reference in a new issue