Add theme function to draw facet container
[mkdru-moved-to-drupal.org.git] / mkdru.theme.js
index 745106e..8051e40 100644 (file)
@@ -111,6 +111,7 @@ Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) {
 };
 
 Drupal.theme.prototype.mkdruFacet = function (terms, facet, max) {
+  debugger;
   var html = "";
   for (var i = 0; i < terms.length && i < max; i++ ) {
     html += '<a href="';
@@ -128,4 +129,8 @@ Drupal.theme.prototype.mkdruFacetLimit = function (term, link) {
     return '<p>' + Drupal.t('Only displaying ') + term.name + '</p>'
       + '<p><a href="' + link + '">' + Drupal.t('Show all...') + '</a></p>';
   }
-};
\ No newline at end of file
+};
+
+Drupal.theme.prototype.mkdruFacetContainer = function (facets, facetCfg) {
+  return "";
+};