From 659e818488c11679cc7ed8ee57ebcd2368e0c58b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 29 Nov 2013 12:48:00 +0000 Subject: [PATCH] Remove old code that called defaultRenderDetails(), since now there is always a template. --- tools/htdocs/mkws.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 '
' + details + '
'; } -- 1.7.10.4