Module: deluge
Branch: master
Commit: 4ec10575f35e05c9eab014a3285b34da5603bf6a

Author: Damien Churchill <[email protected]>
Date:   Sat Mar 27 12:56:18 2010 +0000

fix the records names to match the json object we receieve

---

 deluge/ui/web/js/deluge-all/Deluge.data.Peer.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/Deluge.data.Peer.js 
b/deluge/ui/web/js/deluge-all/Deluge.data.Peer.js
index 4b5e52a..1057530 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.data.Peer.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.data.Peer.js
@@ -49,7 +49,7 @@ Deluge.data.Peer = Ext.data.Record.create([
                name: 'country',
                type: 'string'
        }, {
-               name: 'address',
+               name: 'ip',
                type: 'string',
                sortType: Deluge.Sorters.ipSorter
        }, {
@@ -59,10 +59,10 @@ Deluge.data.Peer = Ext.data.Record.create([
                name: 'progress',
                type: 'float'
        }, {
-               name: 'downspeed',
+               name: 'down_speed',
                type: 'int'
        }, {
-               name: 'upspeed',
+               name: 'up_speed',
                type: 'int'
        }, {
                name: 'seed',

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to