rem: if (ValidateData()) 
add: if (ValidateData()) 
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);    window.focus();    if (window.AdvancedEditOK)    {      // Copy edited attributes to the dialog widgets:      InitDialog();    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js