Readd periodExecuter for mentions tab
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 10 Dec 2010 16:37:15 +0000 (11:37 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 10 Dec 2010 16:37:15 +0000 (11:37 -0500)
horde/js/twitterclient.js

index 8ca0e1f..8e14ebb 100644 (file)
@@ -259,7 +259,7 @@ var Horde_Twitter = Class.create({
                 this.oldestMention = response.responseJSON.o;
             }
         }
-        //new PeriodicalExecuter(function(pe) { this.getNewMentions(); pe.stop(); }.bind(this), this.opts.refreshrate );
+        new PeriodicalExecuter(function(pe) { this.getNewEntries('mentions'); pe.stop(); }.bind(this), this.opts.refreshrate );
     },
 
     /**