rem: SavePublishSiteDataToPrefs(gPublishSiteData, gDefaultSiteName); 
add: SavePublishDataToPrefs(gReturnData);    gReturnData.savePublishData = true; 
context: function onAccept(){  if (ValidateData())  {    // We save new site data to prefs only if we are attempting to publish    if (gSettingsChanged)      SavePublishSiteDataToPrefs(gPublishSiteData, gDefaultSiteName);    var title = TrimString(gDialog.PageTitleInput.value);    if (title != gPreviousTitle)    {      try {        editorShell.SetDocumentTitle(title);      } catch (e) {}    }    SaveWindowLocation();    window.opener.ok = true;    return true;  }  return false;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/a7a0d0cd804141953b1a269a57209b48e53ed397/EditorPublish.js/clean/editor/ui/dialogs/content/EditorPublish.js