Fixed: AddWebsitePointer: Postback was not handled, resetting the input values
to default
This commit is contained in:
parent
981d7e7ddc
commit
44e3953c85
3 changed files with 11 additions and 7 deletions
|
@ -47,17 +47,19 @@ namespace WebsitePanel.Portal
|
|||
{
|
||||
domainsSelectDomainControl.PackageId = PanelSecurity.PackageId;
|
||||
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
if (!IsPostBack)
|
||||
{
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
|
||||
//if (Utils.CheckQouta(Quotas.WEB_ENABLEHOSTNAMESUPPORT, cntx))
|
||||
//{
|
||||
//if (Utils.CheckQouta(Quotas.WEB_ENABLEHOSTNAMESUPPORT, cntx))
|
||||
//{
|
||||
txtHostName.Visible = lblTheDotInTheMiddle.Visible = true;
|
||||
UserSettings settings = ES.Services.Users.GetUserSettings(PanelSecurity.LoggedUserId, UserSettings.WEB_POLICY);
|
||||
txtHostName.Text = String.IsNullOrEmpty(settings["HostName"]) ? "" : settings["HostName"];
|
||||
//}
|
||||
//else
|
||||
//}
|
||||
//else
|
||||
//txtHostName.Visible = lblTheDotInTheMiddle.Visible = false;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue