mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
AC-201 Added callback URL and lots of tool-tip help around the callback fields.
This commit is contained in:
@@ -384,7 +384,7 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
|
||||
check_field: 'allow_callbacks',
|
||||
default_val: dft
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
// Retrieve detail record and prepopulate the form
|
||||
@@ -437,6 +437,9 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
|
||||
}
|
||||
}
|
||||
|
||||
scope['callback_url'] = data.related['callback'];
|
||||
master['callback_url'] = scope['callback_url'];
|
||||
|
||||
LookUpInit({
|
||||
scope: scope,
|
||||
form: form,
|
||||
@@ -493,7 +496,7 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
|
||||
data[fld] = scope[fld].value;
|
||||
}
|
||||
else {
|
||||
if (fld != 'variables') {
|
||||
if (fld != 'variables' && fld != 'callback_url') {
|
||||
data[fld] = scope[fld];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user