Bug 224672 re-comment out dummy code that changes map name r=glazou sr=bz

This commit is contained in:
neil%parkwaycc.co.uk 2003-11-04 21:23:12 +00:00
Родитель 72abccca5d
Коммит 5358e5c3e0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -211,6 +211,7 @@ function onAccept()
else if (gImageMap) else if (gImageMap)
{ {
// un-comment to see that inserting image maps does not work! // un-comment to see that inserting image maps does not work!
/*
gImageMap = editor.createElementWithDefaults("map"); gImageMap = editor.createElementWithDefaults("map");
gImageMap.setAttribute("name", "testing"); gImageMap.setAttribute("name", "testing");
var testArea = editor.createElementWithDefaults("area"); var testArea = editor.createElementWithDefaults("area");
@ -218,6 +219,7 @@ function onAccept()
testArea.setAttribute("coords", "86,102,52"); testArea.setAttribute("coords", "86,102,52");
testArea.setAttribute("href", "test"); testArea.setAttribute("href", "test");
gImageMap.appendChild(testArea); gImageMap.appendChild(testArea);
*/
// Assign to map if there is one // Assign to map if there is one
var mapName = gImageMap.getAttribute("name"); var mapName = gImageMap.getAttribute("name");