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.

(cherry picked from commit c7dc961)

https://bugzilla.redhat.com/show_bug.cgi?id=1745984
  • Loading branch information
mzazrivec authored and simaishi committed Aug 31, 2019
1 parent 50ded6a commit d7e231c
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 d7e231c

Please sign in to comment.