Subscriber for "ready" event now invokes runAutoSearch.
[mkws-moved-to-github.git] / src / mkws-team.js
index adf1acf..5b111e5 100644 (file)
@@ -102,6 +102,10 @@ function team($, teamName) {
                      "termlist": m_config.facets.join(',')
                    });
 
+    queue("ready").subscribe(function() {
+       log("in 'ready' consumer");
+       that.runAutoSearch();
+    });
 
     // pz2.js event handlers:
     function onInit() {