Author: damoxc

Revision: 5770

Log:
        change the spinner strategy so it's an integer

Diff:
Modified: trunk/deluge/ui/web/js/Deluge.ConnectionManager.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.ConnectionManager.js  2009-09-23 19:10:44 UTC 
(rev 5769)
+++ trunk/deluge/ui/web/js/Deluge.ConnectionManager.js  2009-09-24 08:08:43 UTC 
(rev 5770)
@@ -87,7 +87,12 @@
                                xtype: 'uxspinner',
                                ctCls: 'x-form-uxspinner',
                                name: 'port',
-                               strategy: Ext.ux.form.Spinner.NumberStrategy(),
+                               strategy: {
+                                       xtype: 'number',
+                                       decimalPrecision: 0,
+                                       minValue: -1,
+                                       maxValue: 99999
+                               },
                                value: '58846',
                                anchor: '50%'
                        });



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