Commit dd8532092e6a2aa4f7bfbe46055fc72d9d1f3b57
Exists in
master
and in
6 other branches
Merge branch 'master' into staging
Showing
3 changed files
with
3 additions
and
15 deletions
Show diff stats
src/app/components/article-service/article.service.js
| ... | ... | @@ -221,7 +221,7 @@ |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | function sendContactForm (community_id, data){ |
| 224 | - var url = service.apiCommunities + community_id + '/contact' | |
| 224 | + var url = service.apiCommunities + community_id + '/contact'; | |
| 225 | 225 | var encodedParams = [ |
| 226 | 226 | 'contact[name]=' + data.name, |
| 227 | 227 | 'contact[email]=' + data.email, | ... | ... |
src/app/pages/duvidas/duvidas.controller.js
| ... | ... | @@ -34,14 +34,7 @@ |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | 36 | DuvidasPageController.prototype.loadData = function () { |
| 37 | - var vm = this; | |
| 38 | - | |
| 39 | - // vm.DialogaService.getQuestions(function(questions){ | |
| 40 | - // vm.questions = questions; | |
| 41 | - // }, function (error) { | |
| 42 | - // vm.error = error; | |
| 43 | - // vm.$log.error(error); | |
| 44 | - // }); | |
| 37 | + // var vm = this; | |
| 45 | 38 | }; |
| 46 | 39 | |
| 47 | 40 | DuvidasPageController.prototype.submitContactForm = function ($event, contactForm) { |
| ... | ... | @@ -59,7 +52,7 @@ |
| 59 | 52 | |
| 60 | 53 | vm.DialogaService.sendContactForm(data) |
| 61 | 54 | .then(function(response){ |
| 62 | - // vm.$log.debug('sendContactForm success', response); | |
| 55 | + vm.$log.debug('sendContactForm success', response); | |
| 63 | 56 | vm.successMessage = 'Mensagem enviada com sucesso!'; |
| 64 | 57 | }, function(response){ |
| 65 | 58 | vm.$log.warn('sendContactForm error', response); | ... | ... |
src/app/pages/programas/programa.controller.js
| ... | ... | @@ -205,11 +205,6 @@ |
| 205 | 205 | return; |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | - if (!vm.$rootScope.temporaryToken) { | |
| 209 | - vm.$log.debug('"temporaryToken" not defined. Abort.'); | |
| 210 | - return; | |
| 211 | - } | |
| 212 | - | |
| 213 | 208 | vm.DialogaService.voteProposal(proposal_id, { |
| 214 | 209 | value: value |
| 215 | 210 | }).then(function(response) { | ... | ... |