From c1a2f5834aa29070649a8434e5350b6102be94ad Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Sat, 11 Feb 2017 12:15:05 +0100
Subject: [PATCH] - Fix send certification JS error

---
 www/js/controllers/wot-controllers.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js
index fab9b1030..3f95c04d2 100644
--- a/www/js/controllers/wot-controllers.js
+++ b/www/js/controllers/wot-controllers.js
@@ -129,7 +129,6 @@ angular.module('cesium.wot.controllers', ['cesium.services'])
 
   .controller('WotIdentityViewCtrl', WotIdentityViewController)
 
-
   .controller('WotCertificationsTabsCtrl', WotCertificationsTabsController)
 
   .controller('WotCertificationsViewCtrl', WotCertificationsViewController)
@@ -406,7 +405,7 @@ function WotLookupController($scope, $state, $timeout, $focus, $ionicPopover,
 
 }
 
-function WotLookupModalController($scope, $focus){
+function WotLookupModalController($scope, $controller, $focus){
   'ngInject';
 
   // Initialize the super class and extend it.
@@ -443,12 +442,13 @@ function WotLookupModalController($scope, $focus){
  * @param $state
  * @param $timeout
  * @param UIUtils
+ * @param Modals
  * @param csConfig
  * @param csWot
  * @param csWallet
  * @constructor
  */
-function WotIdentityAbstractController($scope, $rootScope, $state, $timeout, UIUtils, csConfig, csWot, csWallet) {
+function WotIdentityAbstractController($scope, $rootScope, $state, $timeout, $translate, UIUtils, Modals, csConfig, csWot, csWallet) {
   'ngInject';
 
   $scope.formData = {};
@@ -862,6 +862,7 @@ function WotCertificationsViewController($scope, $rootScope, $controller, $timeo
 
 
 function WotCertificationsTabsController($scope, $stateParams) {
+  'ngInject';
 
   $scope.formData = {
     pubkey: $stateParams.pubkey,
-- 
GitLab