runAutoSearches now merely publishes a "ready" event.
authorMike Taylor <mike@indexdata.com>
Tue, 1 Apr 2014 10:06:22 +0000 (11:06 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 1 Apr 2014 10:06:22 +0000 (11:06 +0100)
src/mkws-core.js

index 4ea36ef..e63d32e 100644 (file)
@@ -298,7 +298,7 @@ mkws.pagerNext = function(tname) {
        log("running auto searches");
 
        for (var teamName in mkws.teams) {
-           mkws.teams[teamName].runAutoSearch();
+           mkws.teams[teamName].queue("ready").publish();
        }
     }