mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
AC-189 fixed greyed-out username field on login dialog.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
var $AnsibleConfig =
|
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.
|
// seconds of inactivity.
|
||||||
|
|
||||||
tooltip_delay: 2000, // Default number of milliseconds to delay displaying/hiding tooltips
|
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');
|
$('form[name="jobs_form"] input[type="text"], form[name="jobs_form"] jobs_form textarea').attr('readonly','readonly');
|
||||||
$('select').prop('disabled', 'disabled');
|
$('form[name="jobs_form"] select').prop('disabled', 'disabled');
|
||||||
$('.lookup-btn').prop('disabled', 'disabled');
|
$('form[name="jobs_form"] .lookup-btn').prop('disabled', 'disabled');
|
||||||
$('.controls.buttons, hr').hide();
|
$('form[name="jobs_form"] .buttons, form[name="jobs_form"] hr').hide();
|
||||||
|
|
||||||
scope.url = data.url;
|
scope.url = data.url;
|
||||||
var related = data.related;
|
var related = data.related;
|
||||||
|
|||||||
Reference in New Issue
Block a user