зеркало из https://github.com/mozilla/pjs.git
Bug 224672 re-comment out dummy code that changes map name r=glazou sr=bz
This commit is contained in:
Родитель
72abccca5d
Коммит
5358e5c3e0
|
@ -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");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче