add feedback link
This commit is contained in:
parent
4841c2dc05
commit
aece4db5b4
8 changed files with 24 additions and 19 deletions
|
|
@ -176,9 +176,4 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
});
|
||||
});
|
||||
};
|
||||
|
||||
$scope.openExternalLink = function(url) {
|
||||
go.openExternalLink(url);
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -145,10 +145,6 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
|||
return w.getNetworkName().substring(0, 4);
|
||||
};
|
||||
|
||||
$scope.openExternalLink = function(url) {
|
||||
go.openExternalLink(url);
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $timeout, go, notification, identityService, Compatibility, pinService, applicationService, isMobile) {
|
||||
|
||||
// Global go. This should be in a better place TODO
|
||||
// We dont do a 'go' directive, to use the benefits of ng-touch with ng-click
|
||||
$rootScope.go = function (path) {
|
||||
go.path(path);
|
||||
};
|
||||
|
||||
var _credentials, _firstpin;
|
||||
$scope.init = function() {
|
||||
$scope.isMobile = isMobile.any();
|
||||
|
|
|
|||
|
|
@ -84,5 +84,18 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
|||
$location.path('send');
|
||||
};
|
||||
|
||||
|
||||
// Global go. This should be in a better place TODO
|
||||
// We dont do a 'go' directive, to use the benefits of ng-touch with ng-click
|
||||
$rootScope.go = function (path) {
|
||||
root.path(path);
|
||||
};
|
||||
|
||||
$rootScope.openExternalLink = function (url) {
|
||||
root.openExternalLink(url);
|
||||
};
|
||||
|
||||
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue