additional fix for wsp-10300 Default Global Mailbox Plan

This commit is contained in:
Alexander Trofimov 2015-02-01 00:34:00 +07:00
parent 50ac084abe
commit cb6a7e5127

View file

@ -109,12 +109,9 @@ namespace WebsitePanel.Portal
gvMailboxPlans.DataBind(); gvMailboxPlans.DataBind();
} }
//check if organization has only one default domain or less // enable set default plan button if organization has two or more plans
if (gvMailboxPlans.Rows.Count <= 1) btnSetDefaultMailboxPlan.Enabled = gvMailboxPlans.Rows.Count > 1;
{
btnSetDefaultMailboxPlan.Enabled = false;
}
btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true; btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true;
} }