Bugfix, TODO

This commit is contained in:
jendib
2013-08-01 00:06:21 +02:00
parent 3345f3def6
commit e0bccf7121
5 changed files with 6 additions and 2 deletions
@@ -59,6 +59,7 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
$state.transitionTo('document.view', { id: $stateParams.id });
} else {
$scope.document = {};
$scope.newFiles = [];
$scope.loadDocuments();
}
}
@@ -100,6 +101,7 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
sendFile(key).then(then);
} else {
$scope.fileIsUploading = false;
$scope.fileProgress = 0;
navigateNext();
}
};