X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=2a3f471ae2bcb950216b28844926e936040cafe3;hb=7363f51e184710bcc7d5677e64156aefe70ecdfd;hp=c11738a88f6be33dd25d7bcd3e197c59bda0b0f6;hpb=925d2356891199a978c06866733f663af30f335d;p=mkws-moved-to-github.git
diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js
index c11738a..2a3f471 100644
--- a/tools/htdocs/mkws.js
+++ b/tools/htdocs/mkws.js
@@ -281,23 +281,9 @@ function renderSummary(hit)
loadTemplate("Summary");
}
- if (mkws.templateSummary) {
- hit._id = "mkwsRec_" + hit.recid;
- hit._onclick = "mkws.showDetails(this.id);return false;"
- return mkws.templateSummary(hit);
- } else {
- var html = [];
- html.push(''
- + hit["md-title"] +' ');
- if (hit["md-title-remainder"] !== undefined) {
- html.push('' + hit["md-title-remainder"] + ' ');
- }
- if (hit["md-title-responsibility"] !== undefined) {
- html.push(''+hit["md-title-responsibility"]+'');
- }
- return html.join('');
- }
+ hit._id = "mkwsRec_" + hit.recid;
+ hit._onclick = "mkws.showDetails(this.id);return false;"
+ return mkws.templateSummary(hit);
}