Commit 306e3659fe5c3412143b9e1f88f7024f2b1dfac5
1 parent
f9219ef3
Exists in
master
and in
2 other branches
Fixing bug with interaction with a created proposal
Showing
4 changed files
with
3 additions
and
1 deletions
Show diff stats
ConfJuvApp/builds/confjuv-dev.apk
No preview for this file type
ConfJuvApp/builds/confjuvapp-live.apk
No preview for this file type
ConfJuvApp/builds/confjuvapp-web.zip
No preview for this file type
ConfJuvApp/www/js/controllers.js
... | ... | @@ -498,9 +498,11 @@ angular.module('confjuvapp.controllers', []) |
498 | 498 | } |
499 | 499 | } |
500 | 500 | var proposal = { |
501 | + id: resp.data.article.id, | |
501 | 502 | title: data.title, |
502 | 503 | body: data.description, |
503 | - topic: topic | |
504 | + topic: topic, | |
505 | + author: { name: $scope.user.name, id: $scope.user.id } | |
504 | 506 | }; |
505 | 507 | $scope.proposalList.push(proposal); |
506 | 508 | $scope.cards.push(proposal); | ... | ... |