AC-352 Latest. Expanded width of ssh key field and applied fixed width/mono-space font. Same changes made to Credentials page.

This commit is contained in:
chouseknecht
2013-08-28 22:35:55 -04:00
parent ee220ba928
commit fba907ee93
4 changed files with 18 additions and 4 deletions

View File

@@ -200,7 +200,6 @@ function ProjectsEdit ($scope, $rootScope, $compile, $location, $log, $routePara
scope[fld + '_ask'] = false;
$("#" + fld + "-clear-btn").removeAttr("disabled");
}
}
}
@@ -240,9 +239,18 @@ function ProjectsEdit ($scope, $rootScope, $compile, $location, $log, $routePara
relatedSets[set] = { url: related[set], iterator: form.related[set].iterator };
}
}
setAskCheckboxes();
if (data.scm_type !== "") {
for (var i=0; i < scope.scm_type_options.length; i++) {
if (scope.scm_type_options[i].value == data.scm_type) {
scope.scm_type = scope.scm_type_options[i];
break;
}
}
}
master['scm_type'] = scope['scm_type'];
setAskCheckboxes();
// Initialize related search functions. Doing it here to make sure relatedSets object is populated.
RelatedSearchInit({ scope: scope, form: form, relatedSets: relatedSets });
RelatedPaginateInit({ scope: scope, relatedSets: relatedSets });