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/813b0ab1 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/813b0ab1 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/813b0ab1 Branch: refs/heads/master Commit: 813b0ab17dd4525c255d29c41b8b82dfafb8b010 Parents: 51ae1d5 Author: Francesco Chicchiriccò <ilgro...@apache.org> Authored: Fri Apr 21 12:15:55 2017 +0200 Committer: Francesco Chicchiriccò <ilgro...@apache.org> Committed: Fri Apr 21 13:04:18 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/813b0ab1/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))