From 928700876d4761de482f57e0b78c8c6038039201 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 1 Jul 2013 22:46:22 +0100 Subject: [PATCH] Rename all the det_* IDs as mkwsDet_* --- experiments/spclient/mkws.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 92512d8..f182558 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -210,7 +210,7 @@ function my_onrecord(data) { // FIXME: record is async!! clearTimeout(my_paz.recordTimer); // in case on_show was faster to redraw element - var detRecordDiv = document.getElementById('det_'+data.recid); + var detRecordDiv = document.getElementById('mkwsDet_'+data.recid); if (detRecordDiv) return; curDetRecData = data; var recordDiv = document.getElementById('recdiv_'+curDetRecData.recid); @@ -419,7 +419,7 @@ function showDetails (prefixRecId) { curDetRecId = recId; // remove current detailed view if any - var detRecordDiv = document.getElementById('det_'+oldRecId); + var detRecordDiv = document.getElementById('mkwsDet_'+oldRecId); // lovin DOM! if (detRecordDiv) detRecordDiv.parentNode.removeChild(detRecordDiv); @@ -450,7 +450,7 @@ function replaceHtml(el, html) { function renderDetails(data, marker) { - var details = '
'; + var details = '
'; if (marker) details += ''; details += renderField("Title", data["md-title"], data["md-title-remainder"], data["md-title-responsibility"]); -- 1.7.10.4
'+ marker + '