Merge pull request #42 from isocolsky/fix/identity

Fix/identity
This commit is contained in:
Matias Alejo Garcia 2014-10-28 15:04:50 -03:00
commit 0853632827
2 changed files with 4 additions and 6 deletions

View file

@ -8,9 +8,9 @@ angular.module('copayApp.controllers').controller('AddressesController',
$scope.loading = false;
$scope.showAll = false;
var w = $rootScope.wallet;
$scope.newAddr = function() {
var w = $rootScope.wallet;
$scope.loading = true;
w.generateAddress(null, function() {
$timeout(function() {

View file

@ -1,15 +1,14 @@
'use strict';
angular.module('copayApp.controllers').controller('HeadController', function($scope, $rootScope, $filter, notification, controllerUtils) {
$scope.username = $rootScope.iden ? $rootScope.iden.fullName || $rootScope.iden.email : 'undefined';
$scope.username = $rootScope.iden.getName();
$scope.hoverMenu = false;
$scope.hoverIn = function(){
$scope.hoverIn = function() {
this.hoverMenu = true;
};
$scope.hoverOut = function(){
$scope.hoverOut = function() {
this.hoverMenu = false;
};
@ -53,4 +52,3 @@ angular.module('copayApp.controllers').controller('HeadController', function($sc
});
}
});