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

Uncaught ReferenceError: draft_threads is not defined #170

Closed
brylie opened this issue Apr 14, 2018 · 1 comment
Closed

Uncaught ReferenceError: draft_threads is not defined #170

brylie opened this issue Apr 14, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@brylie
Copy link
Member

brylie commented Apr 14, 2018

When starting CiviWiki without any threads, I am getting an error in the browser console:

VM132:22 Uncaught ReferenceError: draft_threads is not defined
    at n.eval (eval at _.template (underscore.js:1454), <anonymous>:22:2)
    at n.template (underscore.js:1461)
    at n.render (feed.js:70)
    at n.initialize (feed.js:52)
    at n.e.View (backbone-min.js:1)
    at new n (backbone-min.js:1)
    at (index):402

This code should be written in a way that is safe for when there are no draft threads, or none assigned to the user (my draft threads).

@JOO33 JOO33 self-assigned this Apr 16, 2018
@brylie brylie added in progress and removed next up labels May 7, 2018
@brylie brylie added this to the 0.3 milestone Jun 11, 2018
@JOO33 JOO33 modified the milestones: 0.3, 2.0 Feb 24, 2021
@JOO33
Copy link
Member

JOO33 commented Feb 25, 2021

Closing due to solution proposed by #827. The JS related issues will be no longer relevant.

@JOO33 JOO33 closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants