Merge pull request #82 from gabrielbazan7/fix/noteSend
fix notes on send tab
This commit is contained in:
commit
c2e3f53735
1 changed files with 8 additions and 3 deletions
|
|
@ -17,6 +17,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
|
|
||||||
|
|
||||||
$scope.showDescriptionPopup = function() {
|
$scope.showDescriptionPopup = function() {
|
||||||
|
|
||||||
|
$scope.data = {
|
||||||
|
comment: null
|
||||||
|
};
|
||||||
|
|
||||||
var commentPopup = $ionicPopup.show({
|
var commentPopup = $ionicPopup.show({
|
||||||
templateUrl: "views/includes/note.html",
|
templateUrl: "views/includes/note.html",
|
||||||
title: gettextCatalog.getString('Set description'),
|
title: gettextCatalog.getString('Set description'),
|
||||||
|
|
@ -25,9 +30,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
$scope.commentPopupClose = function() {
|
$scope.commentPopupClose = function() {
|
||||||
commentPopup.close();
|
commentPopup.close();
|
||||||
};
|
};
|
||||||
$scope.commentPopupSave = function(description) {
|
$scope.commentPopupSave = function() {
|
||||||
$log.debug('Saving description: ' + description);
|
$log.debug('Saving description: ' + $scope.data.comment);
|
||||||
$scope.description = description;
|
$scope.description = $scope.data.comment;
|
||||||
commentPopup.close();
|
commentPopup.close();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue