mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
AC-189 fixed greyed-out username field on login dialog.
This commit is contained in:
parent
7d23d29eaf
commit
3e4408e971
@ -10,7 +10,7 @@
|
||||
|
||||
var $AnsibleConfig =
|
||||
{
|
||||
session_timeout: 3600, // cookie expiration in seconds. session will expire after this many
|
||||
session_timeout: 10, // cookie expiration in seconds. session will expire after this many
|
||||
// seconds of inactivity.
|
||||
|
||||
tooltip_delay: 2000, // Default number of milliseconds to delay displaying/hiding tooltips
|
||||
|
@ -292,10 +292,10 @@ function JobsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
||||
}
|
||||
}
|
||||
|
||||
$('input[type="text"], textarea').attr('readonly','readonly');
|
||||
$('select').prop('disabled', 'disabled');
|
||||
$('.lookup-btn').prop('disabled', 'disabled');
|
||||
$('.controls.buttons, hr').hide();
|
||||
$('form[name="jobs_form"] input[type="text"], form[name="jobs_form"] jobs_form textarea').attr('readonly','readonly');
|
||||
$('form[name="jobs_form"] select').prop('disabled', 'disabled');
|
||||
$('form[name="jobs_form"] .lookup-btn').prop('disabled', 'disabled');
|
||||
$('form[name="jobs_form"] .buttons, form[name="jobs_form"] hr').hide();
|
||||
|
||||
scope.url = data.url;
|
||||
var related = data.related;
|
||||
|
Loading…
Reference in New Issue
Block a user