smonette/microblog_lab — pull request #47 by cameronjacoby (2014-08-25 03:10:20+00:00)
Title: some extra comments functionality - DO NOT MERGE YET

I added some jQuery script to allow us to dynamically show the form to comment on a comment directly from the show post page. When you click "say something about this" next to a comment, a form appears to add a comment on the comment. All the functionality of adding the comments to the comments on a single page is working, the only problem is that my jQuery click events do not work when you first visit the page, only after reloading it once. Weird.

I think this has to do with where I'm putting my jQuery script and where all the scripts are required. I got it work by taking all the "requires" out of application.js except "require jquery" but this caused some other issues (the styles were loading slightly after the pages were loading, and it looked really bad).

Sorry for this saga, but just wanted to get this pull request out there since it has the working form functionality and script, and hopefully we can figure out how to get the script loaded. If anyone wants to look at it and try to figure it out, feel free.

Yay for our project - it looks amazing!!!