rem: function InitDialog() {  element = editorShell.GetSelectedElement(tagName);  if (element) {  insertNew = false; dump("Found existing image\n"); } else { insertNew = true;   dump("Element not selected - calling createElementWithDefaults\n"); element = appCore.createElementWithDefaults(tagName); }  
add: function InitDialog() {  ListStyle = "ul"; BuildBulletStyleList(); /* 
context: function InitDialog() {  // Get a single selected element of the desired type  element = editorShell.GetSelectedElement(tagName);  if (element) {    // We found an element and don't need to insert one    insertNew = false;    dump("Found existing image\n");  } else {    insertNew = true;    // We don't have an element selected,     //  so create one with default attributes    dump("Element not selected - calling createElementWithDefaults\n");    element = appCore.createElementWithDefaults(tagName);  }  if(!element)  {    dump("Failed to get selected element or create a new one!\n");    window.close();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3744ca849c2d7299028735a91931a310c2b6f35f/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js