Skip to content

Commit

Permalink
Merge pull request #6113 from h-kataria/enable_save_button_when_multi…
Browse files Browse the repository at this point in the history
…ple_items_selected

Fixed to set saveable state regardless of number of items selected.
  • Loading branch information
mzazrivec committed Aug 28, 2019
2 parents a6a7c3f + 9f4cc72 commit c7dc961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/retirement-form.js
Expand Up @@ -9,11 +9,11 @@ ManageIQ.angular.app.component('retirementForm', {
vm.$onInit = function() {
if (vm.objectIds.length === 1) {
miqService.sparkleOn();
vm.saveable = miqService.saveable;
$http.get('/' + ManageIQ.controller + '/retirement_info/' + vm.objectIds[0])
.then(getRetirementInfoFormData)
.catch(miqService.handleFailure);
}
vm.saveable = miqService.saveable;
};

vm.select_options = [
Expand Down

0 comments on commit c7dc961

Please sign in to comment.