add cache sync

This commit is contained in:
Matias Alejo Garcia 2016-06-04 16:14:24 -03:00
commit d7e8ca4404
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
2 changed files with 42 additions and 31 deletions

View file

@ -12,22 +12,6 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
$scope.color = fc.backgroundColor;
$scope.copayerId = fc.credentials.copayerId;
$scope.isShared = fc.credentials.n > 1;
console.log('[txDetails.js.16:btx:]',$scope.btx); //TODO
// if ($scope.btx.txid) {
// fc.getTxNote({
// txid: $scope.btx.txid
// }, function(err, note) {
// if (err || !note) {
// $log.debug(gettextCatalog.getString('Could not fetch transaction note'));
// return;
// }
// $scope.comment = note.body;
// $scope.editedBy = gettextCatalog.getString('Edited by') + ' ' + note.editedByName;
// $scope.createdOn = note.createdOn;
// });
// }
//
$scope.showCommentPopup = function() {
$scope.data = {
comment: ''