From: Dennis Schafroth Date: Mon, 7 Jun 2010 14:33:34 +0000 (+0200) Subject: Fix missing detail div with an id. X-Git-Tag: v1.4.2~7^2~15 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=c1d26c17ab4de16d5cf9ab7bc65b98356dc5a648;p=pazpar2-moved-to-github.git Fix missing detail div with an id. --- diff --git a/www/iphone/example_client.js b/www/iphone/example_client.js index 4edf65c..221620a 100644 --- a/www/iphone/example_client.js +++ b/www/iphone/example_client.js @@ -490,6 +490,7 @@ function showDetails (prefixRecId) { // remove current detailed view if any var detRecordDiv = document.getElementById('det_'+oldRecId); + //alert("oldRecId: " + oldRecId + " " + detRecordDiv != null); // lovin DOM! if (detRecordDiv) detRecordDiv.parentNode.removeChild(detRecordDiv); @@ -569,7 +570,7 @@ function renderDetails_iphone(data, marker) //return renderDetails(data,marker); - var details = '' + var details = '
' /* details = ''; return details; }