Rename flashMessage variable

This commit is contained in:
Yemel Jardi 2014-05-20 08:30:20 -07:00
commit ee6821d109
9 changed files with 23 additions and 23 deletions

View file

@ -42,7 +42,7 @@ angular.module('copay.send').controller('SendController',
$scope.submitForm = function(form) {
if (form.$invalid) {
$rootScope.flashMessage = { message: 'You can not send a proposal transaction. Please, try again', type: 'error'};
$rootScope.$flashMessage = { message: 'You can not send a proposal transaction. Please, try again', type: 'error'};
return;
}
@ -55,7 +55,7 @@ angular.module('copay.send').controller('SendController',
w.createTx( address, amount,function() {
$scope.loading = false;
$rootScope.flashMessage = { message: 'The transaction proposal has been created', type: 'success'};
$rootScope.$flashMessage = { message: 'The transaction proposal has been created', type: 'success'};
$rootScope.$digest();
});