From 2fcbb3d484caae2288759bc28a4b4abcd0a4ffbb Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Tue, 21 Mar 2000 20:55:56 +0000 Subject: [PATCH] add an error check to reduce output to console; comment out an alert; uncomment insertion to reproduce bug; add a dump line git-svn-id: svn://10.0.0.236/trunk@63603 18797224-902f-48f8-a5cc-f745e15eee43 --- .../editor/ui/dialogs/content/EdImageMap.js | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/mozilla/editor/ui/dialogs/content/EdImageMap.js b/mozilla/editor/ui/dialogs/content/EdImageMap.js index 717f04c2930..3426472d13a 100644 --- a/mozilla/editor/ui/dialogs/content/EdImageMap.js +++ b/mozilla/editor/ui/dialogs/content/EdImageMap.js @@ -110,24 +110,26 @@ function recreateMap(){ map = imageElement.getAttribute("usemap"); map = map.substring(1, map.length); mapCollection = imageElement.ownerDocument.getElementsByName(map); - areaCollection = mapCollection[0].childNodes; - var len = areaCollection.length; - for(j=0; j