mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #4512 from jlmitch5/projBranchFix
clear out branch/prompt on jt form when project changes Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
ced5319ac9
@ -82,6 +82,11 @@ export default
|
||||
|
||||
$scope.$watch('project', function (newValue, oldValue) {
|
||||
if (newValue !== oldValue) {
|
||||
if (oldValue) {
|
||||
$scope.scm_branch = null;
|
||||
$scope.ask_scm_branch_on_launch = false;
|
||||
}
|
||||
|
||||
var url;
|
||||
if ($scope.playbook) {
|
||||
$scope.playbook_options = [$scope.playbook];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user