rem: /*  if (onOK()) {   window.close(); } */ 
context: function onAdvancedEdit(){  // First validate data from widgets in the "simpler" property dialog  if (ValidateData())   {    // Set true if OK is clicked in the Advanced Edit dialog    window.AdvancedEditOK = false;    // Open the AdvancedEdit dialog, passing in the element to be edited    //  (the copy named "globalElement")    window.openDialog("chrome://editor/content/EdAdvancedEdit.xul", "_blank", "chrome,close,titlebar,modal,resizable=yes", "", globalElement);    if (window.AdvancedEditOK) {      // Copy edited attributes to the dialog widgets:      InitDialog();/*// Use this if we want to close the parent dialog immediately      if (onOK()) {        // I'm not sure why, but calling onOK() from JS doesn't trigger closing        //   automatically as it does when you click on the OK button!        window.close();      }*/    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js