resubmit previous one

This commit is contained in:
robvde 2012-08-01 22:09:32 +04:00
parent 02c3967d27
commit a6c14d8c4b

View file

@ -109,9 +109,10 @@ namespace WebsitePanel.Portal
pnlDefaultDocuments.Visible = PackagesHelper.CheckGroupQuotaEnabled(packageId, ResourceGroups.Web, Quotas.WEB_DEFAULTDOCS);
UserSettings settings = ES.Services.Users.GetUserSettings(PanelSecurity.SelectedUserId, "WebPolicy");
chkDedicatedPool.Checked = Utils.ParseBool(settings["EnableDedicatedPool"], false);
if (Utils.ParseBool(settings["EnableDedicatedPool"], false) == true)
chkDedicatedPool.Checked = true;
chkDedicatedPool.Enabled = !chkDedicatedPool.Checked;
chkDedicatedPool.Enabled = !(Utils.ParseBool(settings["EnableDedicatedPool"], false));
}