From 8a5411cd42118f68cb9914a02124117adf81daad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Thu, 22 Dec 2016 14:45:00 -0300 Subject: [PATCH] fix send feedback repeated buttons --- src/js/controllers/feedback/send.js | 3 ++- www/views/feedback/send.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/js/controllers/feedback/send.js b/src/js/controllers/feedback/send.js index aef8df948..1ad539a94 100644 --- a/src/js/controllers/feedback/send.js +++ b/src/js/controllers/feedback/send.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.controllers').controller('sendController', function($scope, $state, $log, $timeout, $stateParams, $ionicNavBarDelegate, $ionicHistory, $ionicConfig, $window, gettextCatalog, popupService, configService, lodash, feedbackService, ongoingProcess) { +angular.module('copayApp.controllers').controller('sendController', function($scope, $state, $log, $timeout, $stateParams, $ionicNavBarDelegate, $ionicHistory, $ionicConfig, $window, gettextCatalog, popupService, configService, lodash, feedbackService, ongoingProcess, platformInfo) { $scope.sendFeedback = function(feedback, goHome) { @@ -42,6 +42,7 @@ angular.module('copayApp.controllers').controller('sendController', function($sc }; $scope.$on("$ionicView.beforeEnter", function(event, data) { + $scope.isCordova = platformInfo.isCordova; $scope.score = (data.stateParams && data.stateParams.score) ? parseInt(data.stateParams.score) : null; $scope.feedback = {}; diff --git a/www/views/feedback/send.html b/www/views/feedback/send.html index 4f6f4e409..3d735756f 100644 --- a/www/views/feedback/send.html +++ b/www/views/feedback/send.html @@ -10,7 +10,7 @@ - @@ -40,7 +40,7 @@
-