       else
         table.find('td.selection .checker').removeClass('unchecked').addClass('checked')
         $(this).removeClass('unchecked').addClass('checked')
+      selector.trigger 'changed'
     table.find('thead tr:last th:first').append toggle_all
 
     # Create a toggle/checkbox for all records and add it to the row

class MultiSelect
  setup: (table) ->
    return unless table and table.length
    table.data 'multi_select', @
    @set 'table', table

    @set 'resource', table.data('resource')
    # Add an extra th to all header rows

        $(this).removeClass('checked').addClass('unchecked')
      else
        $(this).removeClass('unchecked').addClass('checked')
      selector.trigger 'changed'
    record_td = $('<td></td>').addClass('selection').append(record_toggle)
    table.find('tbody tr').prepend record_td

