From fc735cd4e2666082f53c9d42a284b5c6bfb97cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Tue, 11 Oct 2016 15:46:02 -0300 Subject: [PATCH] remove description by entering blank text --- src/js/controllers/confirm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index b1661758e..77cd8b4c9 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -116,7 +116,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( }; popupService.showPrompt(null, message, opts, function(res) { - if (res) $scope.description = res; + if (typeof res != 'undefined') $scope.description = res; $timeout(function() { $scope.$apply(); }, 100);