Author: damoxc

Revision: 5574

Log:
        disable setting bandwidth limits via the statusbar for the time being
make the uxpsinner fire the change event when they spin

Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Menus.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Menus.js      2009-07-29 16:05:27 UTC (rev 
5573)
+++ trunk/deluge/ui/web/js/Deluge.Menus.js      2009-07-29 16:16:03 UTC (rev 
5574)
@@ -414,7 +414,7 @@
 });
 
 function onLimitChanged(item, checked) {
-       if (item.id == "other") {
+       /*if (item.id == "other") {
        } else {
                config = {}
                config[item.group] = item.id
@@ -423,5 +423,5 @@
                                Deluge.UI.update();
                        }
                });
-       }
+       }*/
 }
\ No newline at end of file

Modified: trunk/deluge/ui/web/js/ext-extensions-debug.js
===================================================================
--- trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-29 16:05:27 UTC 
(rev 5573)
+++ trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-29 16:16:03 UTC 
(rev 5574)
@@ -260,6 +260,7 @@
                }
                this.fireEvent("spin", this);
                this.fireEvent("spinup", this);
+               this.fireEvent("change", this);
        },
 
        //private
@@ -275,6 +276,7 @@
                }
                this.fireEvent("spin", this);
                this.fireEvent("spindown", this);
+               this.fireEvent("change", this);
        },
 
        //private
@@ -285,6 +287,7 @@
                this.strategy.onSpinUpAlternate(this);
                this.fireEvent("spin", this);
                this.fireEvent("spinup", this);
+               this.fireEvent("change", this);
        },
 
        //private
@@ -295,6 +298,7 @@
                this.strategy.onSpinDownAlternate(this);
                this.fireEvent("spin", this);
                this.fireEvent("spindown", this);
+               this.fireEvent("change", this);
        }
 
 });



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