Automatic termlist widgets now work:
authorMike Taylor <mike@indexdata.com>
Wed, 5 Mar 2014 10:04:16 +0000 (10:04 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 5 Mar 2014 10:04:16 +0000 (10:04 +0000)
<div id='mkwsTermlists' autosearch='dinosaur' sort='relevance'></div>

tools/htdocs/mkws.js

index 5e6f090..e047215 100644 (file)
@@ -961,8 +961,7 @@ function team($, teamName) {
 
 
     that.runAutoSearch = function() {
-       // ### should check mkwsTermlist as well, for facet-only teams
-       var node = findnode('.mkwsRecords');
+       var node = findnode('.mkwsRecords,.mkwsTermlists');
        var query = node.attr('autosearch');
        if (!query)
            return;