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

Annotations that don't run a Tagging View aren't saved #83

Open
keithnewman14 opened this issue Aug 14, 2012 · 1 comment
Open

Annotations that don't run a Tagging View aren't saved #83

keithnewman14 opened this issue Aug 14, 2012 · 1 comment

Comments

@keithnewman14
Copy link
Member

Within the experiment branch, if an annotation doesn't have any tags (or rather, if it doesn't try to generate tags), it won't save to the database. This is not an issue with the current Master branch.

It seems that it may be somehow caused by using javascript to redirect after an annotation is saved (removing the javascript resolves the problem).

@keithnewman14
Copy link
Member Author

I added a timeout to the page redirection equal to self.timeout as a sort of workaround (that way, the Tagging View has to start before the page is redirected because the keyup even will run before the submit event.).

A rather inelegant solution, but it seems to get the job done at the moment.

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

No branches or pull requests

1 participant