open external link
This commit is contained in:
parent
e1d0e68797
commit
7dd54976a5
4 changed files with 16 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
var bitcore = require('bitcore');
|
||||
|
||||
angular.module('copayApp.controllers').controller('HistoryController',
|
||||
function($scope, $rootScope, $filter, $timeout, $modal, rateService, notification) {
|
||||
function($scope, $rootScope, $filter, $timeout, $modal, rateService, notification, go) {
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
$rootScope.title = 'History';
|
||||
|
|
@ -145,6 +145,9 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
|||
return w.getNetworkName().substring(0, 4);
|
||||
};
|
||||
|
||||
$scope.go = function(url) {
|
||||
go.openExternalLink(url);
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue