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

Already on GitHub? Sign in to your account

jquery-ujs is does not work with strict mode #298

Closed
darend opened this Issue Dec 14, 2012 · 1 comment

Comments

Projects
None yet
2 participants

darend commented Dec 14, 2012

One of our projects uses strict mode and we found the following error when including jquery-ujs at line 423.

Uncaught ReferenceError: csrf_token is not defined
csrf_token = $('meta[name=csrf-token]').attr('content');

Member

neerajdotname commented Jan 24, 2013

@darend Please reopen this ticket if the fix does not work for you. Thanks.

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