X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;h=229c482dd6c7870c8f68582a3fbb24ea63dcce5b;hb=2b68f65389b08c871a2ef05550adb5b1b37ab771;hp=c919ffdcfcd31e63b359143e37cfa4272d102b22;hpb=c91f32e85a33069730fb24c71db521e1e9f6cfa6;p=mkdru-moved-to-drupal.org.git
diff --git a/mkdru.theme.js b/mkdru.theme.js
index c919ffd..229c482 100644
--- a/mkdru.theme.js
+++ b/mkdru.theme.js
@@ -117,26 +117,30 @@ Drupal.theme.prototype.mkdruFacet = function (terms, facet, max, selections) {
var html = "";
for (var i = 0; i < terms.length && i < max; i++ ) {
var term = terms[i];
- html += ''+terms[i].name;
if (term.selected) html += "";
html += ' (' + terms[i].freq
+ ')
';
}
- //TODO, meed to look up target name from ID
if (terms.length == 0 && selections && selections.length) {
for (var i=0; i'+selections[i]+' (0)
';
+ + '">'+name+' (0)
';
}
}
}
return html;
};
-Drupal.theme.prototype.mkdruFacetContainer = function (facetCfg) {
+Drupal.theme.prototype.mkdruFacetContainer = function (facetsCfg) {
return "";
};