Fix error for empty notes

This commit is contained in:
Gustavo Maximiliano Cortez 2016-11-08 09:58:48 -03:00
commit b3fdec3d78
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -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 = {