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

Adding text annotations breaks project display #68

Open
r03ert0 opened this issue Jun 17, 2022 · 0 comments
Open

Adding text annotations breaks project display #68

r03ert0 opened this issue Jun 17, 2022 · 0 comments

Comments

@r03ert0
Copy link
Member

r03ert0 commented Jun 17, 2022

I created a new project and added a text annotation. Text annotations don't seem to be handled yet, however, it is possible to add them through the project settings interface.

The problem is that the js code in project.mustache fails when trying to handle text annotations, at this line:

$("#projectFiles thead tr").append("<th>" + app.projectInfo.annotations.list[k].name + "</th>");

Changing the "Comments" text layer that I had added to vectorial type, fixes the display issue.

Expected behaviour: gracefully ignore the text annotation layer, maybe providing a message (alert?) indicating that text annotation layers are not implemented yet.

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

No branches or pull requests

1 participant