mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Add diff_mode to job launch data and POST it
This commit is contained in:
parent
de3b9fc70d
commit
1c05c60bd4
@ -128,6 +128,9 @@ export default
|
||||
job_launch_data.extra_credentials.push(extraCredential.id);
|
||||
});
|
||||
}
|
||||
if(scope.ask_diff_mode_on_launch && _.has(scope, 'other_prompt_data.diff_mode')){
|
||||
job_launch_data.diff_mode = scope.other_prompt_data.diff_mode;
|
||||
}
|
||||
|
||||
// If the extra_vars dict is empty, we don't want to include it if we didn't prompt for anything.
|
||||
if(jQuery.isEmptyObject(job_launch_data.extra_vars)===true && scope.prompt_for_vars===false){
|
||||
|
Loading…
Reference in New Issue
Block a user