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

fix Uncaught ReferenceError: moment is not defined #37

Closed
wants to merge 1 commit into from

Conversation

JoolsMcFly
Copy link
Contributor

daterangepicker.js requires moment.js but it was not included in layout.phtml

daterangepicker.js requires moment.js but it was not included in layout.phtml
@JoolsMcFly
Copy link
Contributor Author

I wonder if we need daterangepicker at all actually. Where is it used?

@corpsee
Copy link
Member

corpsee commented Mar 16, 2017

It is a good question 😄 I'm not sure. I will leave the request open and will try to find out soon.

@corpsee corpsee added the bug label Mar 16, 2017
@corpsee
Copy link
Member

corpsee commented Mar 17, 2017

Daterangepicker (and Moment) is useless. I fixed it. Thx @JoolsMcFly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants