Author: damoxc

Revision: 5588

Log:
        add a strategy to the daemon port spinner

Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Preferences.Daemon.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Preferences.Daemon.js 2009-07-30 23:11:28 UTC 
(rev 5587)
+++ trunk/deluge/ui/web/js/Deluge.Preferences.Daemon.js 2009-07-30 23:13:49 UTC 
(rev 5588)
@@ -23,7 +23,14 @@
                });
                optMan.bind('daemon_port', fieldset.add({
                        fieldLabel: _('Daemon port'),
-                       name: 'daemon_port'
+                       name: 'daemon_port',
+                       value: 58846,
+                       strategy: {
+                               xtype: 'number',
+                               decimalPrecision: 0,
+                               minValue: -1,
+                               maxValue: 99999
+                       },
                }));
                
                fieldset = this.add({



--~--~---------~--~----~------------~-------~--~----~
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