Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit d210805

Browse files
committed
no more click twice for ledger generate
1 parent 58e77a5 commit d210805

File tree

3 files changed

+945
-942
lines changed

3 files changed

+945
-942
lines changed

app/scripts/controllers/sendTxCtrl.js

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
155155
$scope.signedTx = rawTx.signedTx;
156156
$scope.showRaw = true;
157157
$scope.validateTxStatus = $sce.trustAsHtml(globalFuncs.getDangerText(''));
158+
if(!$scope.$$phase) $scope.$apply();
158159
} else {
159160
$scope.showRaw = false;
160161
$scope.validateTxStatus = $sce.trustAsHtml(globalFuncs.getDangerText(rawTx.error));

0 commit comments

Comments
 (0)