]> granicus.if.org Git - transmission/commitdiff
fix r12756 oops
authorJordan Lee <jordan@transmissionbt.com>
Fri, 26 Aug 2011 19:59:26 +0000 (19:59 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Fri, 26 Aug 2011 19:59:26 +0000 (19:59 +0000)
web/javascript/transmission.js

index c2b2a958dbec56d2769538fbbcccd7c3fa6f8a04..1fd319655e163cadb246dac531531f28b089c1a2 100644 (file)
@@ -1081,7 +1081,7 @@ Transmission.prototype =
 
                // schedule the next request
                clearTimeout(this.refreshTorrentsTimeout);
-               this.refreshTorrentsTimeout = setTimeout(tr.refreshTorrents, tr[Prefs._RefreshRate]*1000);
+                this.refreshTorrentsTimeout = setTimeout(function(){tr.refreshTorrents();}, tr[Prefs._RefreshRate]*1000);
        },
        initializeAllTorrents: function() {
                var tr = this;