syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/6] syncope git commit: Incorrect parameter passing
Date Fri, 21 Apr 2017 11:04:35 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X bbbd0295d -> 2381d0a35
  refs/heads/master 51ae1d5ef -> 160293666


Incorrect parameter passing


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/1bfa4f4e
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/1bfa4f4e
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/1bfa4f4e

Branch: refs/heads/2_0_X
Commit: 1bfa4f4e10d2374b852dfc08b5f211724e189f23
Parents: bbbd029
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Fri Apr 21 12:15:55 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Fri Apr 21 12:15:55 2017 +0200

----------------------------------------------------------------------
 .../META-INF/resources/app/js/controllers/UserController.js      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/1bfa4f4e/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 fbee936..3bf3468 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
@@ -69,13 +69,13 @@ angular.module("self").controller("UserController", ['$scope', '$rootScope',
'$l
            * if you want to sort with custom JS function defined in put also a sorting function
as last parameter
            * e.g. $rootScope.attributesSorting.ASC
            */
-          schemaService = SchemaService.getTypeExtSchemas(group, $rootScope.customForm);
+          schemaService = SchemaService.getTypeExtSchemas(group);
         } else {
           /* 
            * if you want to sort with custom JS function defined in put also a sorting function
as last parameter
            * e.g. $rootScope.attributesSorting.ASC
            */
-          schemaService = SchemaService.getUserSchemas(anyTypeClass, $rootScope.customForm);
+          schemaService = SchemaService.getUserSchemas(anyTypeClass);
         }
         schemaService.then(function (schemas) {
           if (group && (schemas.plainSchemas.length > 0 || schemas.derSchemas.length
> 0 || schemas.virSchemas.length > 0))


Mime
View raw message