fixes in settings

This commit is contained in:
Matias Alejo Garcia 2014-05-16 12:40:26 -03:00
commit 425703c447
4 changed files with 19 additions and 24 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copay.settings').controller('SettingsController',
function($scope, $rootScope, $window) {
function($scope, $rootScope, $window, $location) {
$scope.title = 'Settings';
$scope.networkName = config.networkName;
@ -31,6 +31,6 @@ angular.module('copay.settings').controller('SettingsController',
})
);
$window.location.reload();
$window.location.href= $window.location.origin + $window.location.pathname;
};
});