Skip to content

Commit

Permalink
Merge pull request #928 from h-kataria/fix_remove_resources_default_v…
Browse files Browse the repository at this point in the history
…alue

Reset value of remove_resources after Repository value is changed.
  • Loading branch information
Dan Clarizio authored Apr 5, 2017
2 parents a63ff3c + c36fe06 commit 82ba99d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ ManageIQ.angular.app.controller('catalogItemFormController', ['$scope', 'catalog
if (id !== vm.catalogItemModel[prefix + '_repository_id']) {
vm.catalogItemModel[prefix + '_playbook_id'] = '';
vm.catalogItemModel[prefix + '_repository_id'] = id;
getRemoveResourcesTypes();
} else {
findObjectForDropDown(prefix, '_playbook', '_playbooks');
}
Expand Down

0 comments on commit 82ba99d

Please sign in to comment.