mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
commented out some code that really should be rewritten
This commit is contained in:
parent
285279591a
commit
e43c308855
@ -403,16 +403,16 @@ function constrainProportions( srcID, destID )
|
||||
|
||||
function editImageMap()
|
||||
{
|
||||
if (editorShell){
|
||||
var tagName = "img";
|
||||
image = editorShell.GetSelectedElement(tagName);
|
||||
// if (editorShell){
|
||||
// var tagName = "img";
|
||||
// image = editorShell.GetSelectedElement(tagName);
|
||||
|
||||
//Test selected element to see if it's an image
|
||||
if (image){
|
||||
// if (image){
|
||||
//If it is, launch image map dialog
|
||||
window.openDialog("chrome://editor/content/EdImageMap.xul", "_blank", "chrome,close", "");
|
||||
}
|
||||
}
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
function removeImageMap()
|
||||
|
Loading…
Reference in New Issue
Block a user