[WebUI] Remove unneeded grid key and fix torrent record

This commit is contained in:
Calum Lind 2014-11-20 21:43:30 +00:00
parent cb37198a9d
commit 376a92f554
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ Deluge.Keys = {
/**
* Keys that are used within the torrent grid.
* <pre>['queue', 'name', 'total_size', 'total_wanted', 'state', 'progress', 'num_seeds',
* <pre>['queue', 'name', 'total_wanted', 'state', 'progress', 'num_seeds',
* 'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
* 'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
* 'is_auto_managed', 'time_added', 'tracker_host', 'download_location', 'last_seen_complete',
@ -47,7 +47,7 @@ Deluge.Keys = {
* 'seeds_peers_ratio', 'total_remaining', 'completed_time']</pre>
*/
Grid: [
'queue', 'name', 'total_size', 'total_wanted', 'state', 'progress', 'num_seeds',
'queue', 'name', 'total_wanted', 'state', 'progress', 'num_seeds',
'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
'is_auto_managed', 'time_added', 'tracker_host', 'download_location', 'last_seen_complete',

View File

@ -50,7 +50,7 @@ Deluge.data.Torrent = Ext.data.Record.create([{
type: 'string',
sortType: Deluge.data.SortTypes.asName
}, {
name: 'total_size',
name: 'total_wanted',
type: 'int'
}, {
name: 'state',