Merge pull request #108 from Bitcoin-com/removemodal-explorer
Update: Skips intermediate modal when clicking on View on blockchain …
This commit is contained in:
commit
93f094bb0a
2 changed files with 2 additions and 7 deletions
|
|
@ -201,12 +201,7 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
||||||
$scope.viewOnBlockchain = function() {
|
$scope.viewOnBlockchain = function() {
|
||||||
var btx = $scope.btx;
|
var btx = $scope.btx;
|
||||||
var url = 'https://' + ($scope.getShortNetworkName() == 'test' ? 'test-' : '') + blockexplorerUrl + '/tx/' + btx.txid;
|
var url = 'https://' + ($scope.getShortNetworkName() == 'test' ? 'test-' : '') + blockexplorerUrl + '/tx/' + btx.txid;
|
||||||
var optIn = true;
|
window.open(url, '_system');
|
||||||
var title = null;
|
|
||||||
var message = gettextCatalog.getString('View Transaction on Explorer.Bitcoin.com');
|
|
||||||
var okText = gettextCatalog.getString('Open Explorer');
|
|
||||||
var cancelText = gettextCatalog.getString('Go Back');
|
|
||||||
externalLinkService.open(url, optIn, title, message, okText, cancelText);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.getShortNetworkName = function() {
|
$scope.getShortNetworkName = function() {
|
||||||
|
|
|
||||||
|
|
@ -10491,7 +10491,7 @@ textarea.d-block {
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translate(0, -50%);
|
transform: translate(0, -50%);
|
||||||
padding: 5px; }
|
padding: 15px; }
|
||||||
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-tool-input .switch-currencies img {
|
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-tool-input .switch-currencies img {
|
||||||
width: 18px; }
|
width: 18px; }
|
||||||
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions {
|
#view-amount .scroll-content .send-amount .send-amount-tool .send-amount-actions {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue