Skip to content
Snippets Groups Projects
Commit 595bdb22 authored by felmer's avatar felmer
Browse files

SSDM-5724: bugs in JS files fixed

SVN: 38924
parent 3b6e2a41
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,8 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { ...@@ -77,6 +77,8 @@ define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) {
}, { }, {
fetchOptions : "RoleAssignmentFetchOptions", fetchOptions : "RoleAssignmentFetchOptions",
id : "IRoleAssignmentId", id : "IRoleAssignmentId",
user : "Person",
authorizationGroup : "AuthorizationGroup",
role : "Role", role : "Role",
roleLevel : "RoleLevel", roleLevel : "RoleLevel",
space : "Space", space : "Space",
......
...@@ -19,13 +19,13 @@ define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/p ...@@ -19,13 +19,13 @@ define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/p
} }
return this.user; return this.user;
} }
prototype withUserUsing = function(fetchOptions) { prototype.withUserUsing = function(fetchOptions) {
return this.user = fetchOptions; return this.user = fetchOptions;
} }
prototype hasUser = function() { prototype.hasUser = function() {
return this.user != null; return this.user != null;
} }
prototype withAuthorizationGroup = function() { prototype.withAuthorizationGroup = function() {
if (this.authorizationGroup == null) { if (this.authorizationGroup == null) {
var AuthorizationGroupFetchOptions = require("as/dto/authorizationgroup/fetchoptions/AuthorizationGroupFetchOptions"); var AuthorizationGroupFetchOptions = require("as/dto/authorizationgroup/fetchoptions/AuthorizationGroupFetchOptions");
this.authorizationGroup = new AuthorizationGroupFetchOptions(); this.authorizationGroup = new AuthorizationGroupFetchOptions();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment