mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Merge pull request #5410 from mabashian/5404-ask-checkboxes-credential
Wait to update checkboxes until the credential data is on scope
This commit is contained in:
@@ -349,7 +349,6 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log,
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setAskCheckboxes();
|
|
||||||
OwnerChange({ scope: $scope });
|
OwnerChange({ scope: $scope });
|
||||||
$scope.$watch("ssh_key_data", function(val) {
|
$scope.$watch("ssh_key_data", function(val) {
|
||||||
if (val === "" || val === null || val === undefined) {
|
if (val === "" || val === null || val === undefined) {
|
||||||
@@ -498,6 +497,8 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log,
|
|||||||
}
|
}
|
||||||
$scope.credential_obj = data;
|
$scope.credential_obj = data;
|
||||||
|
|
||||||
|
setAskCheckboxes();
|
||||||
|
|
||||||
$scope.$emit('credentialLoaded');
|
$scope.$emit('credentialLoaded');
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user