add: gDialog.OtherDirCheckbox.checked = publishOtherFiles;  doEnabling(); 
context: function SelectSiteList(){  var selectedSiteIndex = gDialog.SiteList.selectedIndex;    var siteName = "";  var publishUrl = "";  var browseUrl = "";  var username = "";  var password = "";  var savePassword = false;  ClearMenulist(gDialog.DocDirList);  ClearMenulist(gDialog.OtherDirList);  if (gPublishSiteData && selectedSiteIndex != -1)  {    siteName = gPublishSiteData[selectedSiteIndex].siteName;    publishUrl = gPublishSiteData[selectedSiteIndex].publishUrl;    browseUrl = gPublishSiteData[selectedSiteIndex].browseUrl;    username = gPublishSiteData[selectedSiteIndex].username;    savePassword = gPublishSiteData[selectedSiteIndex].savePassword;    if (savePassword)      password = gPublishSiteData[selectedSiteIndex].password;    // Fill the directory menulists    if (gPublishSiteData[selectedSiteIndex].dirList.length)    {      for (var i = 0; i < gPublishSiteData[selectedSiteIndex].dirList.length; i++)      {        AppendStringToMenulist(gDialog.DocDirList, gPublishSiteData[selectedSiteIndex].dirList[i]);        AppendStringToMenulist(gDialog.OtherDirList, gPublishSiteData[selectedSiteIndex].dirList[i]);      }    }    gDialog.DocDirList.value = gPublishSiteData[selectedSiteIndex].docDir;    gDialog.OtherDirList.value = gPublishSiteData[selectedSiteIndex].otherDir;    gDialog.DocDirList.value = FormatDirForPublishing(gPublishSiteData[selectedSiteIndex].docDir);    gDialog.OtherDirList.value = FormatDirForPublishing(gPublishSiteData[selectedSiteIndex].otherDir);  }  else  {    gDialog.DocDirList.value = "";    gDialog.OtherDirList.value = "";  }  gDialog.SiteNameInput.value    = siteName;  gDialog.PublishUrlInput.value  = publishUrl;  gDialog.BrowseUrlInput.value   = browseUrl;  gDialog.UsernameInput.value    = username;  gDialog.PasswordInput.value    = password;  gDialog.SavePassword.checked   = savePassword;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a7a0d0cd804141953b1a269a57209b48e53ed397/EditorPublish.js/clean/editor/ui/dialogs/content/EditorPublish.js