Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"this" missing in formController #1055

Closed
Gu3 opened this issue May 4, 2016 · 2 comments
Closed

"this" missing in formController #1055

Gu3 opened this issue May 4, 2016 · 2 comments

Comments

@Gu3
Copy link

Gu3 commented May 4, 2016

Hi there !
Little "this" is missing on FormController, line 31 =>

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

instead of :

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

See you ! :)

Vincent.

@Orlicek
Copy link

Orlicek commented May 9, 2016

Hi, i think it's duplicity of #1028, so perhaps just wait for merge :)

@Gu3
Copy link
Author

Gu3 commented May 9, 2016

Hi,
It's correct !
Sorry for the duplicity !

@Gu3 Gu3 closed this as completed May 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants