Skip to content

Commit

Permalink
set afterGet after the OPTIONS data is actually retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
AparnaKarve committed Mar 28, 2017
1 parent 2d8a076 commit 4f2ee61
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 4f2ee61

Please sign in to comment.