AC-466. Fixed issue with refresh timer randomly quitting. Fixed project authorization checkbox.

This commit is contained in:
chouseknecht
2013-09-24 03:42:23 +00:00
parent f2eb9ff343
commit 4b09ba4c83
11 changed files with 34 additions and 23 deletions

View File

@@ -119,6 +119,7 @@ function TeamsAdd ($scope, $rootScope, $compile, $location, $log, $routeParams,
// Save
scope.formSave = function() {
generator.clearApiErrors();
Rest.setUrl(defaultUrl);
var data = {}
for (var fld in form.fields) {
@@ -228,6 +229,7 @@ function TeamsEdit ($scope, $rootScope, $compile, $location, $log, $routeParams,
// Save changes to the parent
scope.formSave = function() {
generator.clearApiErrors();
$rootScope.flashMessage = null;
Rest.setUrl(defaultUrl + $routeParams.team_id +'/');
var data = {}