goHome after close preferences or add wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-24 03:22:06 -03:00
commit 17f7483ec5
4 changed files with 11 additions and 8 deletions

View file

@ -39,7 +39,6 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
root.path = function(path, cb) {
$state.transitionTo(path)
.then(function() {
$rootScope.$emit('Local/SetTab', path);
if (cb) return cb();
});
hideSidebars();