mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
99118: Fix for ACE-3702 - Admin console handle when license is "invalid" but still running Enterprise - show correct summary page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -81,8 +81,7 @@ var Admin = Admin || {};
|
||||
};
|
||||
|
||||
// process family metadata
|
||||
var isCommunity = (utils.getRestrictions().licenseMode == "UNKNOWN"),
|
||||
index = -1,
|
||||
var index = -1,
|
||||
addTool = true,
|
||||
familys = tool.familys.toArray();
|
||||
for (var f=0; f<familys.length; f++)
|
||||
@@ -96,7 +95,7 @@ var Admin = Admin || {};
|
||||
// find community only pages
|
||||
if (familys[f] == "AdminConsole:Edition:Community")
|
||||
{
|
||||
addTool = isCommunity;
|
||||
addTool = !Admin.enterprise && (utils.getRestrictions().licenseMode == "UNKNOWN");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user