Fixes work item 325
This commit is contained in:
parent
f5d560a49e
commit
d543496312
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace WebsitePanel.Portal.ExchangeServer
|
||||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||||
if (cntx.Quotas.ContainsKey(Quotas.ORGANIZATIONS))
|
if (cntx.Quotas.ContainsKey(Quotas.ORGANIZATIONS))
|
||||||
{
|
{
|
||||||
btnCreate.Enabled = !(cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue <= gvOrgs.Rows.Count);
|
btnCreate.Enabled = (!(cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue <= gvOrgs.Rows.Count)||(cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue==-1));
|
||||||
}
|
}
|
||||||
|
|
||||||
//else
|
//else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue