additional fix for wsp-10300 Default Global Mailbox Plan
This commit is contained in:
parent
50ac084abe
commit
cb6a7e5127
1 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue