X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-team.js;h=a5a2d03b99a908b0db9c9e5cc17fc559bf70db00;hb=f96e7cab250556606852c8bf6d6ee65d505ff77a;hp=7f28c1b46d52aa6f172a326dab714f34eebc65c8;hpb=49a76fa2562060378b8ff0735122a640122b0600;p=mkws-moved-to-github.git diff --git a/src/mkws-team.js b/src/mkws-team.js index 7f28c1b..a5a2d03 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -427,24 +427,12 @@ function team($, teamName) { \ '); - mkws.facetConfig = { - xtargets: [ "Sources", 16, false ], - subject: [ "Subjects", 10, true ], - author: [ "Authors", 10, true ] - } - var acc = []; var facets = m_config.facets; acc.push('
' + M('Termlists') + '
'); for (var i = 0; i < facets.length; i++) { - var name = facets[i] - var ref = mkws.facetConfig[name]; - if (!ref) { - alert("bad facet configuration: '" + name + "'"); - } else { - acc.push('
'); - acc.push('
'); - } + acc.push('
'); + acc.push('
'); } findnode(".mkwsTermlists").html(acc.join(''));