Commit 1d968481240d1e0713495342d20a6bf06d3239d0
1 parent
f3066e2b
Exists in
master
and in
2 other branches
Ticket #121: Close edit profile form after profile is updated
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
www/js/controllers.js
@@ -1329,6 +1329,7 @@ angular.module('confjuvapp.controllers', []) | @@ -1329,6 +1329,7 @@ angular.module('confjuvapp.controllers', []) | ||
1329 | var popup = $ionicPopup.alert({ title: 'Perfil', template: 'Perfil atualizado com sucesso' }); | 1329 | var popup = $ionicPopup.alert({ title: 'Perfil', template: 'Perfil atualizado com sucesso' }); |
1330 | popup.then(function() { | 1330 | popup.then(function() { |
1331 | $scope.loading = false; | 1331 | $scope.loading = false; |
1332 | + $scope.closeEditProfile(); | ||
1332 | }); | 1333 | }); |
1333 | $scope.loading = false; | 1334 | $scope.loading = false; |
1334 | }, function(err) { | 1335 | }, function(err) { |