Favorite Talks Fails #70823

Closed
opened 2019-10-15 00:03:33 +02:00 by Pablo Vazquez · 4 comments

Fails when trying to favorite from:

  • Talks schedule
  • Talk page
  • Speaker profile page

Apparently it can't find the function: Uncaught ReferenceError: favoriteStarToggle is not defined

Tested on Chromium Version 76.0.3809.100, Ubuntu.

Fails when trying to favorite from: * Talks schedule * Talk page * Speaker profile page Apparently it can't find the function: `Uncaught ReferenceError: favoriteStarToggle is not defined` Tested on Chromium Version 76.0.3809.100, Ubuntu.
Sem Mulder was assigned by Pablo Vazquez 2019-10-15 00:03:34 +02:00
Author
Owner

Added subscriber: @pablovazquez

Added subscriber: @pablovazquez

The Django Pipeline thing is wrapping my JS in anonymous functions (but only when DEBUG=False :'( ). See https:*en.wikipedia.org/wiki/Immediately_invoked_function_expression and https:*django-pipeline.readthedocs.io/en/latest/configuration.html#wrapped-javascript-output. Any idea how I do expose functions?

The Django Pipeline thing is wrapping my JS in anonymous functions (but only when `DEBUG=False` :'( ). See https:*en.wikipedia.org/wiki/Immediately_invoked_function_expression and https:*django-pipeline.readthedocs.io/en/latest/configuration.html#wrapped-javascript-output. Any idea how I do expose functions?

We decided to just disable wrapping altogether by setting DISABLE_WRAPPER = True.

We decided to just disable wrapping altogether by setting `DISABLE_WRAPPER = True`.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/conference-website#70823
No description provided.