X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=mkdru.theme.js;h=41cc7fcf18c1f2bb9efa3f12b83eccc658b2304c;hb=89ab9a6226eb6fa7da943bb221d720225977329f;hp=fa4964cccdfc1541aac2f39f688d91bd012cb72c;hpb=1ce6a60df53c9b5e33a5328890bca1133b11ae8e;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index fa4964c..41cc7fc 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -1,39 +1,140 @@ Drupal.theme.prototype.mkdruResult = function(hit, num, detailLink) { + var html = ""; + + // OPEN - result list item + html += '
'; // limit description to 400 characters html += hit["md-description"][0].substr(0, 400); + html += '