X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=mkdru.theme.js;h=745106e2938c77b5daec293135ab37eb34e7ce8d;hb=fb9b420a79595a160623548f58f3ceef0012e944;hp=875d0f341df25a4972b2aa61e2cb54931824ccc0;hpb=e07c0486acf21bb9055984feec68a14427a9d6fa;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index 875d0f3..745106e 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -113,26 +113,16 @@ Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) { Drupal.theme.prototype.mkdruFacet = function (terms, facet, max) { var html = ""; for (var i = 0; i < terms.length && i < max; i++ ) { - html += Drupal.theme('mkdruFacetTerm', terms[i], facet); + html += '' + terms[i].name + ' (' + terms[i].freq + ')
'; } return html; }; -Drupal.theme.prototype.mkdruFacetTerm = function (term, facet) { - var html = '' + term.name + ' (' + term.freq + ')
'; - return html; -}; - Drupal.theme.prototype.mkdruFacetLimit = function (term, link) { if (term) { return '

' + Drupal.t('Only displaying ') + term.name + '

'