Merge pull request #444 from yhua123/patch-1

Close pop input bar after success.
This commit is contained in:
kun wang 2016-06-29 17:16:35 +08:00 committed by GitHub
commit 581db52124
2 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,7 @@
function addProjectMemberComplete(data, status, header) {
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
vm.reload();
vm.isOpen = false;
}
function addProjectMemberFailed(data, status, headers) {

View File

@ -36,6 +36,7 @@
$scope.$emit('addedSuccess', true);
vm.hasError = false;
vm.errorMessage = '';
vm.isOpen = false;
}
function addProjectFailed(data, status) {