Skip to content

Commit

Permalink
Merge pull request #827 from AparnaKarve/ansible_empty_dropdown
Browse files Browse the repository at this point in the history
Set afterGet when the OPTIONS data is actually retrieved
(cherry picked from commit 0b36dcb)
  • Loading branch information
mzazrivec authored and simaishi committed Mar 30, 2017
1 parent 53b5532 commit 6847a25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ ManageIQ.angular.app.controller('ansibleCredentialsFormController', ['$window',
.then(setManagerResource)
.catch(miqService.handleFailure);

vm.afterGet = true;
vm.modelCopy = angular.copy( vm.credentialModel );
miqService.sparkleOff();
}
Expand Down Expand Up @@ -77,6 +76,7 @@ ManageIQ.angular.app.controller('ansibleCredentialsFormController', ['$window',
for (var opt in vm.credential_options) {
vm.select_options.push({'value': opt, 'label': vm.credential_options[opt].label});
}
vm.afterGet = true;
}

function getCredentialFormData(response) {
Expand Down

0 comments on commit 6847a25

Please sign in to comment.