BF[ 1878783 ] Cant seem to access any html window

This commit is contained in:
tspc 2008-01-29 00:55:47 +00:00
parent 601b6ab46a
commit fb989f1134
1 changed files with 7 additions and 3 deletions

View File

@ -150,9 +150,13 @@ public class GridWindowVO implements Serializable
return null; return null;
} }
// Ensure ASP exceptions // Ensure ASP exceptions
MRole role = MRole.getDefault(ctx, false); MClient client = MClient.get(ctx);
if (role.getWindowAccess(AD_Window_ID) == null) if (client.isUseASP())
vo = null; {
MRole role = MRole.getDefault(ctx, false);
if (role.getWindowAccess(AD_Window_ID) == null)
vo = null;
}
// Not found // Not found
if (vo == null) if (vo == null)
{ {