fix reload in cordova

This commit is contained in:
Matias Alejo Garcia 2014-12-06 21:07:26 -03:00
commit 984a7a6651
6 changed files with 22 additions and 14 deletions

View file

@ -158,6 +158,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
return;
}
$scope.saveSettings(function(err) {
preconditions.checkState(!err,err);
$scope._doCreateProfile($scope.userOrEmail, form.password.$modelValue, function(err) {
$timeout(function() {
form.password.$setViewValue('');