fixing errors

This commit is contained in:
John Mitchell 2015-03-09 16:41:39 -04:00
parent fb5db213cd
commit dada789f8b
4 changed files with 6 additions and 11 deletions

View File

@ -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);
}
}

View File

@ -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 || '');
}

View File

@ -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";

View File

@ -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";