UI changes to setup and signin
This commit is contained in:
parent
dbff7b4a8b
commit
d970d670f9
2 changed files with 12 additions and 17 deletions
|
|
@ -13,15 +13,6 @@ angular.module('copay.signin').controller('SigninController',
|
|||
$scope.openPassword = '';
|
||||
|
||||
$scope.create = function(form) {
|
||||
if (form && form.$invalid) {
|
||||
$rootScope.$flashMessage = { message: 'Please, enter required fields', type: 'error'};
|
||||
return;
|
||||
}
|
||||
|
||||
$rootScope.walletName = form.walletName.$modelValue;
|
||||
$rootScope.walletPassword = form.createPassword.$modelValue;
|
||||
|
||||
|
||||
$location.path('setup');
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue