replace flashmessage for notifications
This commit is contained in:
parent
bdfac63f1a
commit
e389a3f82c
4 changed files with 32 additions and 57 deletions
|
|
@ -68,10 +68,7 @@ angular.module('copayApp.controllers').controller('SetupController',
|
|||
|
||||
$scope.create = function(form) {
|
||||
if (form && form.$invalid) {
|
||||
$rootScope.$flashMessage = {
|
||||
message: 'Please, enter required fields',
|
||||
type: 'error'
|
||||
};
|
||||
notification.error('Error', 'Please enter the required fields');
|
||||
return;
|
||||
}
|
||||
$scope.loading = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue