{"action":"opened","issue":{"url":"https://api.github.com/repos/TechAtNYU/intranet/issues/76","labels_url":"https://api.github.com/repos/TechAtNYU/intranet/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/TechAtNYU/intranet/issues/76/comments","events_url":"https://api.github.com/repos/TechAtNYU/intranet/issues/76/events","html_url":"https://github.com/TechAtNYU/intranet/issues/76","id":70347400,"number":76,"title":"Typeahead options don't update after page load","user":{"login":"ethanresnick","id":471894,"avatar_url":"https://avatars.githubusercontent.com/u/471894?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanresnick","html_url":"https://github.com/ethanresnick","followers_url":"https://api.github.com/users/ethanresnick/followers","following_url":"https://api.github.com/users/ethanresnick/following{/other_user}","gists_url":"https://api.github.com/users/ethanresnick/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanresnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanresnick/subscriptions","organizations_url":"https://api.github.com/users/ethanresnick/orgs","repos_url":"https://api.github.com/users/ethanresnick/repos","events_url":"https://api.github.com/users/ethanresnick/events{/privacy}","received_events_url":"https://api.github.com/users/ethanresnick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TechAtNYU/intranet/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/TechAtNYU/intranet/labels/code","name":"code","color":"5319e7"},{"url":"https://api.github.com/repos/TechAtNYU/intranet/labels/design","name":"design","color":"0052cc"},{"url":"https://api.github.com/repos/TechAtNYU/intranet/labels/medium","name":"medium","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T08:38:19Z","updated_at":"2015-04-23T08:38:19Z","closed_at":null,"body":"# Steps to reproduce (for Events, though this applies to all add/edit view typeaheads):\r\n\r\n1. Go to the add event form and start filling out the fields, all the way down to Venue\r\n2. Search for the appropriate venue in the typeahead; realize that it doesn't exist yet\r\n3. Go, in a new tab, to the add venue view. Add the venue.\r\n4. Back in the add event tab, look for the newly created venue in the venue typeahead.\r\n5. See that it isn't there, which means that (annoyingly) you have to open the add event form in a new tab, manually copy in all the info you wrote earlier, and then select the venue.\r\n\r\n# What should happen\r\nAfter the user adds the venue in the other tab, when they go back to their partially-completed add event form, the venue should show up as they start typing.\r\n\r\nTechnically, this seems like it requires either: 1) loading all the venues when the user starts typing (not just when they load the page) or 2) loading all the venues on the page load, and reloading them after a venue is added from another tab (e.g. with a library like [this](https://github.com/tejacques/crosstab)). Given that this code is likely only going to exist though until we get the wizard system working, we should probably stick with the simplest option for now, which is number 1."}}