Skip to content

fix Uncaught ReferenceError: moment is not defined#37

Closed
JoolsMcFly wants to merge 1 commit into
php-censor:masterfrom
JoolsMcFly:include-momentjs
Closed

fix Uncaught ReferenceError: moment is not defined#37
JoolsMcFly wants to merge 1 commit into
php-censor:masterfrom
JoolsMcFly:include-momentjs

Conversation

@JoolsMcFly

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@corpsee

corpsee commented Mar 16, 2017

Copy link
Copy Markdown
Member

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

corpsee commented Mar 17, 2017

Copy link
Copy Markdown
Member

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