Repository: nifi-registry Updated Branches: refs/heads/master a94b81745 -> a3f01faf1
NIFIREG-83 - Deselect all users or groups in the add users to group and add user to groups dialogs This closes #68. Signed-off-by: Bryan Bende <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/nifi-registry/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi-registry/commit/a3f01faf Tree: http://git-wip-us.apache.org/repos/asf/nifi-registry/tree/a3f01faf Diff: http://git-wip-us.apache.org/repos/asf/nifi-registry/diff/a3f01faf Branch: refs/heads/master Commit: a3f01faf1acb88de143d08b3a3d7e41cc7a05262 Parents: a94b817 Author: Scott Aslan <[email protected]> Authored: Fri Dec 22 15:41:47 2017 -0500 Committer: Bryan Bende <[email protected]> Committed: Fri Dec 22 16:10:48 2017 -0500 ---------------------------------------------------------------------- .../dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js | 1 + .../dialogs/add-users-to-group/nf-registry-add-users-to-group.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi-registry/blob/a3f01faf/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js ---------------------------------------------------------------------- diff --git a/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js b/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js index 475e4cb..dd2ee66 100644 --- a/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js +++ b/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user-to-groups/nf-registry-add-user-to-groups.js @@ -73,6 +73,7 @@ NfRegistryAddUserToGroups.prototype = { }); this.filterGroups(); + this.deselectAllUserGroups(); this.determineAllUserGroupsSelectedState(); }, http://git-wip-us.apache.org/repos/asf/nifi-registry/blob/a3f01faf/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-users-to-group/nf-registry-add-users-to-group.js ---------------------------------------------------------------------- diff --git a/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-users-to-group/nf-registry-add-users-to-group.js b/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-users-to-group/nf-registry-add-users-to-group.js index 46c119e..3311a74 100644 --- a/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-users-to-group/nf-registry-add-users-to-group.js +++ b/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-users-to-group/nf-registry-add-users-to-group.js @@ -35,7 +35,7 @@ var $ = require('jquery'); * @constructor */ function NfRegistryAddUsersToGroup(nfRegistryApi, tdDataTableService, nfRegistryService, matDialogRef, fdsSnackBarService, data) { - //Services + // Services this.dataTableService = tdDataTableService; this.snackBarService = fdsSnackBarService; this.nfRegistryService = nfRegistryService; @@ -67,6 +67,7 @@ NfRegistryAddUsersToGroup.prototype = { }); this.filterUsers(); + this.deselectAllUsers(); this.determineAllUsersSelectedState(); },
