Fix error for empty notes
This commit is contained in:
parent
5771b22c68
commit
b3fdec3d78
1 changed files with 3 additions and 1 deletions
|
|
@ -95,7 +95,9 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
||||||
popupService.showPrompt($scope.wallet.name, gettextCatalog.getString('Memo'), opts, function(text) {
|
popupService.showPrompt($scope.wallet.name, gettextCatalog.getString('Memo'), opts, function(text) {
|
||||||
if (typeof text == "undefined") return;
|
if (typeof text == "undefined") return;
|
||||||
|
|
||||||
$scope.btx.note.body = text;
|
$scope.btx.note = {
|
||||||
|
body: text
|
||||||
|
};
|
||||||
$log.debug('Saving memo');
|
$log.debug('Saving memo');
|
||||||
|
|
||||||
var args = {
|
var args = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue