Merge pull request #380 from gabrielbazan7/fix/note

remove description by entering blank text
This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-11 16:33:54 -03:00 committed by GitHub
commit dc73320aa5

View file

@ -116,7 +116,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
}; };
popupService.showPrompt(null, message, opts, function(res) { popupService.showPrompt(null, message, opts, function(res) {
if (res) $scope.description = res; if (typeof res != 'undefined') $scope.description = res;
$timeout(function() { $timeout(function() {
$scope.$apply(); $scope.$apply();
}, 100); }, 100);