Fixed project add and edit pages.

This commit is contained in:
chouseknecht
2013-05-22 04:23:42 -04:00
parent fc6545a059
commit 91b534c841
7 changed files with 253 additions and 8 deletions

View File

@@ -241,7 +241,6 @@ function TeamsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
Rest.get({ params: {id: id} })
.success( function(data, status, headers, config) {
LoadBreadCrumbs({ path: '/teams/' + id, title: data.name });
console.log(data);
for (var fld in form.fields) {
if (data[fld]) {
scope[fld] = data[fld];