mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
made playbooks that are similar across branches not clear out the form input
This commit is contained in:
parent
f44cc5f729
commit
e15a25fc46
@ -490,9 +490,6 @@ export function JobTemplatesAdd($filter, $scope, $rootScope, $compile, $location
|
||||
}
|
||||
$scope.selectPlaybookUnregister = $scope.$watch('project', function (newValue, oldValue) {
|
||||
if (newValue !== oldValue) {
|
||||
if (!Empty(oldValue)) {
|
||||
$scope.playbook = null;
|
||||
}
|
||||
selectPlaybook(oldValue, newValue);
|
||||
checkSCMStatus();
|
||||
}
|
||||
@ -827,9 +824,6 @@ export function JobTemplatesEdit($filter, $scope, $rootScope, $compile, $locatio
|
||||
}
|
||||
$scope.watchProjectUnregister = $scope.$watch('project', function (newValue, oldValue) {
|
||||
if (newValue !== oldValue) {
|
||||
if (!Empty(oldValue)) {
|
||||
$scope.playbook = null;
|
||||
}
|
||||
getPlaybooks($scope.project);
|
||||
checkSCMStatus();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user