You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2016/09/23 09:25:49 UTC
[2/2] syncope git commit: [SYNCOPE-950] Removing readonly property
from AttrTO (was useless even before SYNCOPE-948)
[SYNCOPE-950] Removing readonly property from AttrTO (was useless even before SYNCOPE-948)
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a247cc51
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a247cc51
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a247cc51
Branch: refs/heads/master
Commit: a247cc51f7f4964d04dfd61d4042967e2ec99ee3
Parents: 4a079a6
Author: Francesco Chicchiricc� <il...@apache.org>
Authored: Fri Sep 23 11:25:23 2016 +0200
Committer: Francesco Chicchiricc� <il...@apache.org>
Committed: Fri Sep 23 11:25:38 2016 +0200
----------------------------------------------------------------------
.../META-INF/resources/app/js/controllers/UserController.js | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/a247cc51/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
index 4995e26..e93e3a2 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
+++ b/client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
@@ -91,8 +91,7 @@ angular.module("self").controller("UserController", ['$scope', '$rootScope', '$l
if (!$scope.user.plainAttrs[plainSchemaKey]) {
$scope.user.plainAttrs[plainSchemaKey] = {
schema: plainSchemaKey,
- values: [],
- readonly: schemas.plainSchemas[i].readonly
+ values: []
};
// initialize multivalue schema and support table: create mode, only first value
if (schemas.plainSchemas[i].multivalue) {
@@ -118,8 +117,7 @@ angular.module("self").controller("UserController", ['$scope', '$rootScope', '$l
if (!$scope.user.derAttrs[derSchemaKey]) {
$scope.user.derAttrs[derSchemaKey] = {
schema: derSchemaKey,
- values: [],
- readonly: true
+ values: []
};
}
}
@@ -130,8 +128,7 @@ angular.module("self").controller("UserController", ['$scope', '$rootScope', '$l
if (!$scope.user.virAttrs[virSchemaKey]) {
$scope.user.virAttrs[virSchemaKey] = {
schema: virSchemaKey,
- values: [],
- readonly: schemas.virSchemas[i].readonly
+ values: []
};
// initialize multivalue schema and support table: create mode, only first value
$scope.dynamicForm.virtualAttributeTable[schemas.virSchemas[i].key] = {