React tables

This is a redo of #1502. I have done some architectural restructuring so that the base Table React component is more generalizable, and I've changed the way components get mounted onto the view (originally was using the react-rails gem, but now going a more native route). Also deleted unnecessary .rjs files (for the original tables) and partials, as well as the students' populate route in route.rb (we now populate by sending an AJAX request to the same url, just requesting it in JSON).
Ah, good answer!


On Tue, Aug 5, 2014 at 5:06 PM, Lawrence Wu <notifications@github.com>
wrote:

> In app/views/groups/index.html.erb:
>
> >      jQuery(document).ready(function() {
> > -      // set up event handlers to show the loading spinner while
> > -      // an ajax call us working
> > -      $("global_action_form").observe('ajax:after', function(evt, status, data, xhr) {
>
> #global_action_form no longer exists, or if it does, it no longer has the
> ability to detect when the table has been populated. I had a div displaying
> 'working...' in some of the tables, but I'm now working on getting the
> tables to display the loading indicator as specified in #1531
> <https://github.com/MarkUsProject/Markus/pull/1531>.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/MarkUsProject/Markus/pull/1539/files#r15841819>.
>