mirror of https://github.com/BTCPrivate/copay.git
better function name
This commit is contained in:
parent
7dd54976a5
commit
6facb74886
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('CreateProfileController', function($scope, $rootScope, $location, $timeout, notification, pluginManager, identityService, pinService, isMobile, configService) {
|
angular.module('copayApp.controllers').controller('CreateProfileController', function($scope, $rootScope, $location, $timeout, notification, pluginManager, identityService, pinService, isMobile, configService, go) {
|
||||||
|
|
||||||
var _credentials, _firstpin;
|
var _credentials, _firstpin;
|
||||||
|
|
||||||
|
@ -172,4 +172,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.openExternalLink = function(url) {
|
||||||
|
go.openExternalLink(url);
|
||||||
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -145,7 +145,7 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
||||||
return w.getNetworkName().substring(0, 4);
|
return w.getNetworkName().substring(0, 4);
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.go = function(url) {
|
$scope.openExternalLink = function(url) {
|
||||||
go.openExternalLink(url);
|
go.openExternalLink(url);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,8 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<a class="button-setup text-gray" href="https://copay.io/profile-storage">
|
<a class="button-setup text-gray"
|
||||||
|
ng-click="openExternalLink('https://copay.io/profile-storage.html')">
|
||||||
Learn more about this option
|
Learn more about this option
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
<div class="m10t oh">
|
<div class="m10t oh">
|
||||||
<a class="right button-setup"
|
<a class="right button-setup"
|
||||||
ng-click="go('http://' + getShortNetworkName() + '.insight.is/tx/' + btx.txid)">
|
ng-click="openExternalLink('http://' + getShortNetworkName() + '.insight.is/tx/' + btx.txid)">
|
||||||
See it on the blockchain <i class="icon-arrow-right2 vm"></i>
|
See it on the blockchain <i class="icon-arrow-right2 vm"></i>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue