Author: damoxc
Revision: 5642
Log:
return if stats is null or false
Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Statusbar.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Statusbar.js 2009-08-11 15:22:59 UTC (rev
5641)
+++ trunk/deluge/ui/web/js/Deluge.Statusbar.js 2009-08-11 22:51:37 UTC (rev
5642)
@@ -72,6 +72,8 @@
},
update: function(stats) {
+ if (!stats) return;
+
function addSpeed(val) {return val + ' KiB/s'}
var updateStat = function(name, config) {
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---