diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js index f3ef0384ea1..2dec32ab703 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js @@ -69,8 +69,10 @@ angular.module('Bastion.content-hosts').controller('ContentHostsBulkHostCollecti if (action === 'add') { HostBulkAction.addHostCollections(params, success, error); + $scope.ok(); } else if (action === 'remove') { HostBulkAction.removeHostCollections(params, success, error); + $scope.ok(); } }; diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html index 8eecb1f57f0..9528a328f6f 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-host-collections-modal.html @@ -10,7 +10,7 @@

Host Collection Membership Management - Are you sure you want to add the {{ table.numSelected }} content host(s) selected to the host collection(s) chosen? + Are you sure you want to add the content host(s) selected to the host collection(s) chosen?
@@ -20,7 +20,7 @@

Host Collection Membership Management - Are you sure you want to remove the {{ table.numSelected }} content host(s) selected from the host collection(s) chosen? + Are you sure you want to remove the content host(s) selected from the host collection(s) chosen?