rem: dump("Exception occured in InsertElementAtSelection\n"); } }   imageMap = globalMap.cloneNode(true); if (insertNewIMap){ try { editorShell.editorDocument.body.appendChild(imageMap);  } catch (e) { 
context: function onOK(){  // handle insertion of new image  if (ValidateData())  {    // All values are valid - copy to actual element in doc or     //   element created to insert    editorShell.CloneAttributes(imageElement, globalElement);    if (insertNew)    {      try {        // 'true' means delete the selection before inserting        editorShell.InsertElementAtSelection(imageElement, true);      } catch (e) {        dump("Exception occured in InsertElementAtSelection\n");      }    }    // Copy or insert image map    imageMap = globalMap.cloneNode(true);    if (insertNewIMap){      try {        editorShell.editorDocument.body.appendChild(imageMap);        //editorShell.InsertElementAtSelection(imageMap, false);      }      catch (e) {        dump("Exception occured in InsertElementAtSelection\n");      }    }    // un-comment to see that inserting image maps does not work!    /*test = editorShell.CreateElementWithDefaults("map");    test.setAttribute("name", "testing");    testArea = editorShell.CreateElementWithDefaults("area");    testArea.setAttribute("shape", "circle");    testArea.setAttribute("coords", "86,102,52");    testArea.setAttribute("href", "test");    test.appendChild(testArea);    editorShell.InsertElementAtSelection(test, false);*/    return true;  }  return false;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/86008c59a717aa343fbfbacbd8bcf0b3c4f1def8/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js