diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs index 67fdd3fe..21988009 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs @@ -109,12 +109,9 @@ namespace WebsitePanel.Portal gvMailboxPlans.DataBind(); } - //check if organization has only one default domain or less - if (gvMailboxPlans.Rows.Count <= 1) - { - btnSetDefaultMailboxPlan.Enabled = false; - } - + // enable set default plan button if organization has two or more plans + btnSetDefaultMailboxPlan.Enabled = gvMailboxPlans.Rows.Count > 1; + btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true; }