Commit 9228ffa45bdcd43c88c1887fb39307f166303818
1 parent
5fb9be74
Exists in
master
and in
2 other branches
removing wrong alert
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
ConfJuvApp/www/js/controllers.js
@@ -123,9 +123,7 @@ angular.module('confjuvapp.controllers', []) | @@ -123,9 +123,7 @@ angular.module('confjuvapp.controllers', []) | ||
123 | 123 | ||
124 | // Function to register | 124 | // Function to register |
125 | $scope.Register = function(data) { | 125 | $scope.Register = function(data) { |
126 | -alert('no registro') | ||
127 | if (!data || !data.login || !data.email || !data.password || !data.password_confirmation) { | 126 | if (!data || !data.login || !data.email || !data.password || !data.password_confirmation) { |
128 | -alert('teste'); | ||
129 | $ionicPopup.alert({ title: 'Registrar', template: 'Por favor preencha todos os campos' }); | 127 | $ionicPopup.alert({ title: 'Registrar', template: 'Por favor preencha todos os campos' }); |
130 | return; | 128 | return; |
131 | } | 129 | } |