mirror of
https://github.com/ansible/awx.git
synced 2026-04-07 02:59:21 -02:30
Latest UI changes. Related-set key fields now link to the edit/detail page. Job detail page disables correctly. Fixed jobs related set on Job Templates detail page.
This commit is contained in:
@@ -219,6 +219,12 @@ function JobsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
||||
scope[fld] = data[fld];
|
||||
}
|
||||
}
|
||||
|
||||
if (data.status != 'new') {
|
||||
$('input[type="text"], textarea').attr('readonly','readonly');
|
||||
$('select').prop('disabled', 'disabled');
|
||||
$('.lookup-btn').prop('disabled', 'disabled');
|
||||
}
|
||||
|
||||
scope.url = data.url;
|
||||
var related = data.related;
|
||||
|
||||
Reference in New Issue
Block a user