Minor bug fixes

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-23 12:07:56 -03:00
commit 3292ad382d
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 60 additions and 38 deletions

View file

@ -89,13 +89,16 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.showDescriptionPopup = function() {
var title = gettextCatalog.getString('Add description');
var message = gettextCatalog.getString('Add description');
var opts = {
defaultText: $scope.description
};
popupService.showPrompt(title, null, opts, function(res) {
popupService.showPrompt(null, message, opts, function(res) {
if (res) $scope.description = res;
$timeout(function() {
$scope.$apply();
}, 100);
});
};