From b3fdec3d782691f546ca316766eecbae59f65500 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 8 Nov 2016 09:58:48 -0300 Subject: [PATCH] Fix error for empty notes --- src/js/controllers/tx-details.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/controllers/tx-details.js b/src/js/controllers/tx-details.js index 680e83af2..e41cca9c2 100644 --- a/src/js/controllers/tx-details.js +++ b/src/js/controllers/tx-details.js @@ -95,7 +95,9 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio popupService.showPrompt($scope.wallet.name, gettextCatalog.getString('Memo'), opts, function(text) { if (typeof text == "undefined") return; - $scope.btx.note.body = text; + $scope.btx.note = { + body: text + }; $log.debug('Saving memo'); var args = {