Merge pull request #343 from Bitcoin-com/wallet/task/590
590 - The Personal Note field is not cleared between transactions.
This commit is contained in:
commit
977d03429d
1 changed files with 6 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
vm.feeIsHigh = false;
|
vm.feeIsHigh = false;
|
||||||
vm.feeLessThanACent = false;
|
vm.feeLessThanACent = false;
|
||||||
vm.isCordova = platformInfo.isCordova;
|
vm.isCordova = platformInfo.isCordova;
|
||||||
|
vm.memo = '';
|
||||||
vm.notReadyMessage = '';
|
vm.notReadyMessage = '';
|
||||||
vm.origin = {
|
vm.origin = {
|
||||||
balanceAmount: '',
|
balanceAmount: '',
|
||||||
|
|
@ -76,9 +77,12 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
|
|
||||||
$scope.$on("$ionicView.beforeEnter", onBeforeEnter);
|
$scope.$on("$ionicView.beforeEnter", onBeforeEnter);
|
||||||
|
|
||||||
|
|
||||||
function onBeforeEnter(event, data) {
|
function onBeforeEnter(event, data) {
|
||||||
console.log('review onBeforeEnter sendflow ', sendFlowService.state);
|
console.log('review onBeforeEnter sendflow ', sendFlowService.state);
|
||||||
|
// Reset from last time
|
||||||
|
vm.memo = '';
|
||||||
|
|
||||||
defaults = configService.getDefaults();
|
defaults = configService.getDefaults();
|
||||||
sendFlowData = sendFlowService.state.getClone();
|
sendFlowData = sendFlowService.state.getClone();
|
||||||
originWalletId = sendFlowData.fromWalletId;
|
originWalletId = sendFlowData.fromWalletId;
|
||||||
|
|
@ -94,7 +98,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
vm.originWallet = profileService.getWallet(originWalletId);
|
vm.originWallet = profileService.getWallet(originWalletId);
|
||||||
vm.origin.currency = vm.originWallet.coin.toUpperCase();
|
vm.origin.currency = vm.originWallet.coin.toUpperCase();
|
||||||
coin = vm.originWallet.coin;
|
coin = vm.originWallet.coin;
|
||||||
|
|
||||||
if (sendFlowData.thirdParty) {
|
if (sendFlowData.thirdParty) {
|
||||||
vm.thirdParty = sendFlowData.thirdParty;
|
vm.thirdParty = sendFlowData.thirdParty;
|
||||||
switch (vm.thirdParty.id) {
|
switch (vm.thirdParty.id) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue