mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Fixed js error that stopped login dialog from rendering in FF.
This commit is contained in:
parent
1ee58f08c4
commit
b363c71137
@ -120,7 +120,11 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Hos
|
||||
elm.removeAttr('required');
|
||||
if ($(elm).hasClass('lookup')) {
|
||||
var txt = $(elm).parent().parent().parent().find('label').text();
|
||||
$(elm).parent().parent().parent().find('label').text(txt.replace(/^*/,''));
|
||||
var txt = txt.replace(/^\*/,'');
|
||||
var label = $(elm).parent().parent().parent().find('label');
|
||||
if (label) {
|
||||
label.text(txt);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (scope[attrs.awRequiredWhen] && (viewValue == undefined || viewValue == null || viewValue == '')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user