Skip to content

Commit

Permalink
Merge pull request #1028 from ganlhi/fix-form-controller
Browse files Browse the repository at this point in the history
Fixed reference to 'notification' service
  • Loading branch information
fzaninotto committed May 17, 2016
2 parents e676352 + 5706067 commit a984116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/ng-admin/Crud/form/FormController.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class FormController {

validateEntry() {
if (!this.form.$valid) {
this.$translate('INVALID_FORM').then(text => notification.log(text, { addnCls: 'humane-flatty-error' }));
this.$translate('INVALID_FORM').then(text => this.notification.log(text, { addnCls: 'humane-flatty-error' }));
return false;
}

Expand Down

0 comments on commit a984116

Please sign in to comment.