mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
fixing errors
This commit is contained in:
parent
fb5db213cd
commit
dada789f8b
@ -259,12 +259,7 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r
|
||||
|
||||
// Respond to 'Ask at runtime?' checkbox
|
||||
$scope.ask = function (fld, associated) {
|
||||
console.log("got here");
|
||||
debugger;
|
||||
if ($scope[fld] === 'ASK') {
|
||||
$scope[fld + "_ask"] = true;
|
||||
}
|
||||
else if ($scope[fld + '_ask']) {
|
||||
if ($scope[fld + '_ask']) {
|
||||
$scope[fld] = 'ASK';
|
||||
if (associated !== "undefined") {
|
||||
$scope[associated] = '';
|
||||
@ -555,7 +550,7 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $
|
||||
// Respond to 'Ask at runtime?' checkbox
|
||||
$scope.ask = function (fld, associated) {
|
||||
if ($scope[fld + '_ask']) {
|
||||
$scope[fld] = 'ASK'
|
||||
$scope[fld] = 'ASK';
|
||||
if (associated !== "undefined") {
|
||||
$scope[associated] = '';
|
||||
$scope[form.name + '_form'][associated].$setValidity('awpassmatch', true);
|
||||
@ -563,7 +558,7 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $
|
||||
} else {
|
||||
$scope[fld] = '';
|
||||
if (associated !== "undefined") {
|
||||
$scope[associated] = 'ASK';
|
||||
$scope[associated] = '';
|
||||
$scope[form.name + '_form'][associated].$setValidity('awpassmatch', true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ export function __deferLoadIfEnabled() {
|
||||
var deferPattern = /aw\.suspend=true/;
|
||||
|
||||
if (deferPattern.test(window.location.search) || deferPattern.test(window.location.hash)) {
|
||||
console.log('Deferred load due to "aw.suspend=true" in URL. Please execute `angular.resumeBootstrap()` to continue.');
|
||||
// console.log('Deferred load due to "aw.suspend=true" in URL. Please execute `angular.resumeBootstrap()` to continue.');
|
||||
window.name = 'NG_DEFER_BOOTSTRAP!' + (window.name || '');
|
||||
}
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ function JobStatusGraph($rootScope, $compile , $location, $window, Wait, adjustG
|
||||
link: link
|
||||
};
|
||||
|
||||
function link(scope, element, attr) {
|
||||
function link(scope, element) {
|
||||
var job_type, job_status_chart = nv.models.lineChart();
|
||||
|
||||
scope.period="month";
|
||||
|
||||
@ -855,7 +855,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', ListGenerat
|
||||
$(buttonId).html("ABC");
|
||||
$(inputId).attr("type", "password");
|
||||
}
|
||||
}
|
||||
};
|
||||
html += "\<div class='input-group";
|
||||
html += (horizontal) ? " " + getFieldWidth() : "";
|
||||
html += "'>\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user