Merge pull request #1041 from yemel/fix/go-home-settings

Go home after saving settings
This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-05 10:23:12 -03:00
commit 125ceb9b66
1 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,8 @@ angular.module('copayApp.controllers').controller('SettingsController',
unitToSatoshi: $scope.selectedUnit.value,
}));
window.location.reload();
// Go home reloading the application
var hashIndex = window.location.href.indexOf('#!/');
window.location = window.location.href.substr(0, hashIndex);
};
});