From a0ce88c504dbf75d857f56956a3a801e396bfc46 Mon Sep 17 00:00:00 2001 From: Caio SBA Date: Sat, 8 Aug 2015 21:22:30 -0300 Subject: [PATCH] Fixing bug on comment creation --- ConfJuvApp/builds/confjuv-dev.apk | Bin 4071386 -> 0 bytes ConfJuvApp/builds/confjuvapp-live.apk | Bin 4080242 -> 0 bytes ConfJuvApp/builds/confjuvapp-web.zip | Bin 4053961 -> 0 bytes ConfJuvApp/config.xml | 2 +- ConfJuvApp/www/html/_create_comment.html | 2 +- ConfJuvApp/www/js/controllers.js | 8 ++++---- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ConfJuvApp/builds/confjuv-dev.apk b/ConfJuvApp/builds/confjuv-dev.apk index 1f2921f..c8a4e04 100644 Binary files a/ConfJuvApp/builds/confjuv-dev.apk and b/ConfJuvApp/builds/confjuv-dev.apk differ diff --git a/ConfJuvApp/builds/confjuvapp-live.apk b/ConfJuvApp/builds/confjuvapp-live.apk index f9ee688..869baa4 100644 Binary files a/ConfJuvApp/builds/confjuvapp-live.apk and b/ConfJuvApp/builds/confjuvapp-live.apk differ diff --git a/ConfJuvApp/builds/confjuvapp-web.zip b/ConfJuvApp/builds/confjuvapp-web.zip index c082543..4e54daf 100644 Binary files a/ConfJuvApp/builds/confjuvapp-web.zip and b/ConfJuvApp/builds/confjuvapp-web.zip differ diff --git a/ConfJuvApp/config.xml b/ConfJuvApp/config.xml index 13da951..d3163d4 100644 --- a/ConfJuvApp/config.xml +++ b/ConfJuvApp/config.xml @@ -1,5 +1,5 @@ - + #3ConfJuv Aplicativo móvel para 3ª Conferência Nacional de Juventude diff --git a/ConfJuvApp/www/html/_create_comment.html b/ConfJuvApp/www/html/_create_comment.html index b5bff90..c684fe1 100644 --- a/ConfJuvApp/www/html/_create_comment.html +++ b/ConfJuvApp/www/html/_create_comment.html @@ -7,7 +7,7 @@

diff --git a/ConfJuvApp/www/js/controllers.js b/ConfJuvApp/www/js/controllers.js index f98e945..0ad4a98 100644 --- a/ConfJuvApp/www/js/controllers.js +++ b/ConfJuvApp/www/js/controllers.js @@ -474,11 +474,11 @@ angular.module('confjuvapp.controllers', []) $scope.proposal = proposal; if (!$scope.proposal.comments || $scope.proposal.comments.length == 0) { - loadComments(); + $scope.loadComments(); } else { - showProposal($scope.proposal); + $scope.showProposal($scope.proposal); } }; @@ -633,7 +633,7 @@ angular.module('confjuvapp.controllers', []) } else { // Initiate the modal - $ionicModal.fromTemplateUrl('html/_create_comment.html?6', { + $ionicModal.fromTemplateUrl('html/_create_comment.html?7', { scope: $scope, animation: 'slide-in-up' }).then(function(modal) { @@ -879,7 +879,7 @@ angular.module('confjuvapp.controllers', []) L O A D C O M M E N T S ******************************************************************************/ - var loadComments = function() { + $scope.loadComments = function() { $scope.commentStatus = ''; $scope.loading = true; var config = { -- libgit2 0.21.2