rem: function onOK() { if (applyChanges()) { if (imageWasInserted) {   appCore.setCaretAfterElement(imageElement); } window.close(); 
add: function onOK() {   imageElement.setAttribute("src",dialog.srcInput.value);  imageElement.setAttribute("alt",dialog.altTextInput.value); if (insertNew) { dump("Src="+imageElement.getAttribute("src")+" Alt="+imageElement.getAttribute("alt")+"\n"); appCore.insertElement(imageElement, true);  appCore.selectElement(imageElement);   imageWasInserted = true; 
context: function onOK() {  if (applyChanges()) {    if (imageWasInserted) {      // We selected the object, undo it by      //  setting caret to just after the inserted element      appCore.setCaretAfterElement(imageElement);    }    window.close();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/351d18f8fab2b14cc9f3fa977da6c5abf1878cb9/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js