Fixed not persisting IIS7 settings

PArtial checkin litigation hold
Fixed HideQuota enforce in space resources overview
This commit is contained in:
robvde 2013-01-05 10:31:06 +04:00
parent 97bb7eeddd
commit 7ce43121db
4 changed files with 82 additions and 11 deletions

View file

@ -275,7 +275,12 @@ namespace WebsitePanel.Portal.ProviderControls
// Helicon Ape
bool registerHeliconApeGlobbally = chkHeliconApeGlobalRegistration.Checked;
if (registerHeliconApeGlobbally != (bool)ViewState["HeliconApeInitiallyEnabled"])
bool bHeliconApeInitiallyEnabled = false;
if (ViewState["HeliconApeInitiallyEnabled"] != null)
bHeliconApeInitiallyEnabled = (bool)ViewState["HeliconApeInitiallyEnabled"];
if (registerHeliconApeGlobbally != bHeliconApeInitiallyEnabled)
{
if (registerHeliconApeGlobbally)
{
@ -286,8 +291,8 @@ namespace WebsitePanel.Portal.ProviderControls
ES.Services.WebServers.DisableHeliconApeGlobally(int.Parse(Request.QueryString["ServiceID"]));
}
}
if (WDeployEnabledCheckBox.Checked)
{