From c1d26c17ab4de16d5cf9ab7bc65b98356dc5a648 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Mon, 7 Jun 2010 16:33:34 +0200 Subject: [PATCH] Fix missing detail div with an id. --- www/iphone/example_client.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 1.7.10.4