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