replace flashmessage for notifications

This commit is contained in:
Manuel Araoz 2014-06-26 17:17:24 -03:00
commit e389a3f82c
4 changed files with 32 additions and 57 deletions

View file

@ -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;