X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=cf7b6c6998e783f1b5e5176e1db8687e68eb8181;hb=659e818488c11679cc7ed8ee57ebcd2368e0c58b;hp=a03789573a86cfb39e5fdc37e653a890a712e046;hpb=8a5cf1364faaa034d2ff39685c7477b33339eb71;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index a037895..cf7b6c6 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -698,14 +698,8 @@ function renderDetails(data, marker) loadTemplate("Record"); } - var details; - if (mkws.templateRecord) { - var template = mkws.templateRecord; - details = template(data); - } else { - details = defaultRenderDetails(data, marker); - } - + var template = mkws.templateRecord; + var details = template(data); return '